Skip to content

Instantly share code, notes, and snippets.

View snelson's full-sized avatar

Scotty Nelson snelson

View GitHub Profile
@defunkt
defunkt / checkout.md
Created March 3, 2010 21:34
Tracking branch shortcut

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.