Skip to content

Instantly share code, notes, and snippets.

@denis
Created January 18, 2009 21:24
Show Gist options
  • Save denis/48774 to your computer and use it in GitHub Desktop.
Save denis/48774 to your computer and use it in GitHub Desktop.
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