Skip to content

Instantly share code, notes, and snippets.

@seabre
Last active December 14, 2015 17:29
Show Gist options
  • Save seabre/5122252 to your computer and use it in GitHub Desktop.
Save seabre/5122252 to your computer and use it in GitHub Desktop.
Git cookbook.

Git Cookbook

Checkout remote branch

git checkout -t origin/my_remote_branch

Change current directory to root of git project

cd $(git rev-parse --show-cdup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment