Skip to content

Instantly share code, notes, and snippets.

@mhuckaby
Last active December 21, 2015 17:39
Show Gist options
  • Save mhuckaby/6342310 to your computer and use it in GitHub Desktop.
Save mhuckaby/6342310 to your computer and use it in GitHub Desktop.
branch notes
# Clone project
git clone https://github.com/mhuckaby/retro-post.git rp-eh-1
# Track remote branch
git checkout --track origin/ehcache
# Branch the remote branch locally
git branch ehcache-1
# Push new local branch to remote
git push -u origin ehcache-1
# Show info about remote origin
git remote show origin
# Update
git remote update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment