Skip to content

Instantly share code, notes, and snippets.

@ncr
Forked from defunkt/checkout.md
Created March 3, 2010 21:38
Show Gist options
  • Save ncr/321063 to your computer and use it in GitHub Desktop.
Save ncr/321063 to your computer and use it in GitHub Desktop.
Old way:
$ git checkout -b preandpost_fork_hooks scotttam/preandpost_fork_hooks
Branch preandpost_fork_hooks set up to track remote branch preandpost_fork_hooks from scotttam.
Switched to a new branch 'preandpost_fork_hooks'
New way:
$ git checkout preandpost_fork_hooks
Branch preandpost_fork_hooks set up to track remote branch preandpost_fork_hooks from scotttam.
Switched to a new branch 'preandpost_fork_hooks'
$ git version
git version 1.6.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment