Created
March 29, 2017 10:04
-
-
Save sriram15690/74a7c7cccf4ea56d17db34dd36634a46 to your computer and use it in GitHub Desktop.
setup and push to github
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
Quick setup — if you’ve done this kind of thing before | |
Set up in Desktop or | |
HTTPS | |
SSH | |
https://github.com/sriram15690/subrepo-test.git | |
We recommend every repository include a README, LICENSE, and .gitignore. | |
…or create a new repository on the command line | |
echo "# subrepo-test" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/sriram15690/subrepo-test.git | |
git push -u origin master | |
…or push an existing repository from the command line | |
git remote add origin https://github.com/sriram15690/subrepo-test.git | |
git push -u origin master | |
…or import code from another repository | |
You can initialize this repository with code from a Subversion, Mercurial, or TFS project. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment