Pushing a new git repo from local to remote
The following assume you already have a remote git repo at https://username@somewebdomain.com/username/my_project.git
Assume you already have a git repo on your computer, and want to push it to a remote git repository.
cd /path/to/existing/git/project/folder git remote add origin https://username@somewebdomain.com/username/my_project.git git push origin master
Assume you are starting from scratch.
git clone https://username@somewebdomain.com/username/my_project.git cd my_project echo "#This is going to be a fantastic project" >> README.md git add README.md git commit -m "initial commit" git push -u origin master
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts