Skip to content

Instantly share code, notes, and snippets.

@klebervirgilio
Created February 21, 2013 12:37
Show Gist options
  • Save klebervirgilio/5004453 to your computer and use it in GitHub Desktop.
Save klebervirgilio/5004453 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