Skip to content

Instantly share code, notes, and snippets.

@jgeewax
Created August 20, 2010 23:32
Show Gist options
  • Save jgeewax/541435 to your computer and use it in GitHub Desktop.
Save jgeewax/541435 to your computer and use it in GitHub Desktop.
(master)jj@im-jj:~/demo$ git checkout -b rc-1.0 -t origin/rc-1.0
Branch rc-1.0 set up to track remote branch rc-1.0 from origin.
Switched to a new branch 'rc-1.0'
(rc-1.0)jj@im-jj:~/demo$ git remote show origin
* remote origin
URL: my-server:/git/demo.git
HEAD branch: master
Remote branches:
master tracked
rc-1.0 tracked
Local branches configured for 'git pull':
master merges with remote master
rc-1.0 merges with remote rc-1.0
Local refs configured for 'git push':
master pushes to master (up to date)
rc-1.0 pushes to rc-1.0 (up to date)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment