Skip to content

Instantly share code, notes, and snippets.

@hungpk
Forked from Holek/bash-autocomplete-script
Created July 9, 2013 04:26
Show Gist options
  • Save hungpk/5954716 to your computer and use it in GitHub Desktop.
Save hungpk/5954716 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
[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