Skip to content

Instantly share code, notes, and snippets.

@robin-drexler
Created December 10, 2014 19:12
Show Gist options
  • Save robin-drexler/a0c460a359569a2cd117 to your computer and use it in GitHub Desktop.
Save robin-drexler/a0c460a359569a2cd117 to your computer and use it in GitHub Desktop.
[TIL]Checkout previous git branch
Robins-MacBook-Pro-2:TIL robin$ git co master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Robins-MacBook-Pro-2:TIL robin$ git co -
Switched to branch 'gh-pages'
Robins-MacBook-Pro-2:TIL robin$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment