Created
February 28, 2018 03:53
-
-
Save jimmy18dev/a9afeb428f9a8627dc515f8c0292db50 to your computer and use it in GitHub Desktop.
Git Remote Add Origin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have an existing project | |
cd /path/to/your/repo | |
git remote add origin https://[email protected]/repo.git | |
git push -u origin master | |
I'm starting from scratch | |
git clone https://[email protected]/repo.git | |
cd /path/to/your/repo | |
echo "# My project's README" >> README.md | |
git add README.md | |
git commit -m "Initial commit" | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment