Skip to content

Instantly share code, notes, and snippets.

@alonsogarciapablo
Forked from denis/gist:48774
Created August 2, 2012 09:29
Show Gist options
  • Save alonsogarciapablo/3235818 to your computer and use it in GitHub Desktop.
Save alonsogarciapablo/3235818 to your computer and use it in GitHub Desktop.
Adding git bash completion in MAC OS X
cd /tmp
git clone git://git.kernel.org/pub/scm/git/git.git
cd git
git checkout v`git --version | awk '{print $3}'`
cp contrib/completion/git-completion.bash ~/.git-completion.bash
cd ~
rm -rf /tmp/git
echo -e "source ~/.git-completion.bash" >> .profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment