Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Created May 24, 2016 04:26
Show Gist options
  • Save tomysmile/25359d02702453f3c59e60f58ca4e482 to your computer and use it in GitHub Desktop.
Save tomysmile/25359d02702453f3c59e60f58ca4e482 to your computer and use it in GitHub Desktop.
Git Track Branch
$ git checkout -b serverfix origin/serverfix

Branch serverfix set up to track remote branch serverfix from origin.
Switched to a new branch 'serverfix'
$ git checkout --track origin/serverfix

Branch serverfix set up to track remote branch serverfix from origin.
Switched to a new branch 'serverfix'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment