Skip to content

Instantly share code, notes, and snippets.

@Holek
Created November 25, 2011 09:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save Holek/1393106 to your computer and use it in GitHub Desktop.
Save Holek/1393106 to your computer and use it in GitHub Desktop.
Git autocomplete for bash on a Mac script
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
@nsuitter
Copy link

nsuitter commented May 1, 2014

I commented on your blog but thought I'd comment here too. You may need to update your url (see my fork). Thanks for the gist though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment