Skip to content

Instantly share code, notes, and snippets.

@mtkd
Created June 12, 2009 20:05
Show Gist options
  • Save mtkd/128888 to your computer and use it in GitHub Desktop.
Save mtkd/128888 to your computer and use it in GitHub Desktop.

Revisions

  1. mtkd revised this gist Jun 12, 2009. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions Checkout alternative branch on Github
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    git fetch origin storemanagement:storemanagement
    * [new branch] storemanagement -> storemanagement
    git fetch origin other_branch:other_branch
    * [new branch] other_branch -> other_branch
    git branch
    * master
    storemanagement
    git checkout storemanagement
    other_branch
    git checkout other_branch
  2. mtkd created this gist Jun 12, 2009.
    6 changes: 6 additions & 0 deletions Checkout alternative branch on Github
    Original 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