Skip to content

Instantly share code, notes, and snippets.

@gregwym
Forked from Holek/bash-autocomplete-script
Created February 19, 2013 21:01
Show Gist options
  • Save gregwym/4989872 to your computer and use it in GitHub Desktop.
Save gregwym/4989872 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