Skip to content

Instantly share code, notes, and snippets.

@mdaguerre
Forked from Holek/bash-autocomplete-script
Last active December 22, 2015 00:39
Show Gist options
  • Save mdaguerre/6391261 to your computer and use it in GitHub Desktop.
Save mdaguerre/6391261 to your computer and use it in GitHub Desktop.
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
echo "source ~/.git-completion.bash" >> ~/.bash_profile
#~/.gitconfig
[alias]
co = checkout
ci = commit
rb = rebase
sync = !git pull --rebase && git push
com = !git add . && git commit -am
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment