1wrjha
Last Updated: February 25, 2016
·
346
· ptgoetz
423abccbed514c8464e12ae1479003a9

Setup git command line completion on OSX

Run the following script:

#! /bin/bash
git_version=(`git --version`)
wget https://raw.github.com/git/git/v${git_version[2]}/contrib/completion/git-completion.bash -O ~/.git-completion.bash
echo "source ~/.git-completion.bash" >> ~/.bash_profile

Then logout/login.

Say Thanks
Respond
Filed Under