Skip to content

Instantly share code, notes, and snippets.

@mlabod
Last active December 13, 2015 23:59
Show Gist options
  • Save mlabod/4996058 to your computer and use it in GitHub Desktop.
Save mlabod/4996058 to your computer and use it in GitHub Desktop.
Git Autocompletion in the terminal
# open terminal
$ curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
$ open ~/.bash_profile
# add
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment