Setting up git autocomplete on mac

Mac's git doesn't come with auto complete, which is obnoxious, so I just run this is on my new systems. You don't have to do it this way and just piece it together for yourself using the git site like I did.

pushd
curl -O https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
echo "source ~/git-completion.bash" >> ~/.bash_profile
source ~/.bash_profile
popd
This is the code I run. Trust but verify ☑️

This is also stored in my current setup page

Show Comments