Skip to content

Instantly share code, notes, and snippets.

@mbaric
Created September 8, 2016 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbaric/349d24d8cb67c32552e44897d1489436 to your computer and use it in GitHub Desktop.
Save mbaric/349d24d8cb67c32552e44897d1489436 to your computer and use it in GitHub Desktop.
Bash
alias gc=gitCheckout
.
.
.
gitCheckout() {
git checkout -b $1 origin/$1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment