Skip to content

Instantly share code, notes, and snippets.

@jxson
Forked from defunkt/checkout.md
Created March 8, 2010 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jxson/325456 to your computer and use it in GitHub Desktop.
Save jxson/325456 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

See http://gitlog.wordpress.com/2010/01/13/git-1-6-6/ for the release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment