Skip to content

Instantly share code, notes, and snippets.

@mbaric
Created September 8, 2016 10:16
Show Gist options
  • 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