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.
Written by P. Taylor Goetz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Command line
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#