Skip to content

Instantly share code, notes, and snippets.

@decthomas
Created February 4, 2013 08:56
Git autocompletion include
# Git autocompletion
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
# otherwise the 'g' alias won't autocomplete
complete -o default -o nospace -F _git g
fi
##
# Git aliases
##
alias g=git;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment