Created
May 31, 2011 14:18
-
-
Save angeldm/1000576 to your computer and use it in GitHub Desktop.
Howto create a remote branch.
This file contains 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
cd | |
cd Repositories/ | |
ls | |
mkdir GoCode | |
cd GoCode/ | |
git init | |
touch README | |
git add README | |
git commit -m 'first commit' | |
git remote add origin [email protected]:angeldm/GoCode.git | |
git push -u origin master | |
git branch test | |
git checkout test | |
git remote add test [email protected]:angeldm/GoCode.git | |
git push origin test | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment