Skip to content

Instantly share code, notes, and snippets.

View alonsogarciapablo's full-sized avatar

Pablo Alonso alonsogarciapablo

View GitHub Profile
@alonsogarciapablo
alonsogarciapablo / gist:3235818
Created August 2, 2012 09:29 — forked from denis/gist:48774
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