Skip to content

Instantly share code, notes, and snippets.

@joseluistorres
Created March 14, 2014 16:04
Show Gist options
  • Select an option

  • Save joseluistorres/9550739 to your computer and use it in GitHub Desktop.

Select an option

Save joseluistorres/9550739 to your computer and use it in GitHub Desktop.
git checkout branchname and copy that to use later
# add this to your bash profile
function gco1() {
echo "$@" | pbcopy | gco "$@"
}
alias gco='git checkout'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment