Forked from mtkd/Checkout alternative branch on Github
Created
June 13, 2009 10:52
-
-
Save tekin/129195 to your computer and use it in GitHub Desktop.
Revisions
-
tekin revised this gist
Jun 13, 2009 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,4 +7,10 @@ git checkout other_branch # Or, in one swift command: git checkout -t origin/other_branch # which is equivalent to: git checkout --track -b other_branch origin/other_branch # OK, I'm going to frolic in the sun, no more computer today! -
tekin revised this gist
Jun 13, 2009 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,3 +4,7 @@ git branch * master other_branch git checkout other_branch # Or, in one swift command: git checkout -t origin/other_branch -
mtkd revised this gist
Jun 12, 2009 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ git fetch origin other_branch:other_branch * [new branch] other_branch -> other_branch git branch * master other_branch git checkout other_branch -
mtkd created this gist
Jun 12, 2009 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ git fetch origin storemanagement:storemanagement * [new branch] storemanagement -> storemanagement git branch * master storemanagement git checkout storemanagement