How to fix git autocomplete in Ubuntu 13.04

Solution 1:

I had the same problem with Ubuntu 13.04

This is how I solved it

To get bash completion you need to reinstall git-core along with bash-completion package and then restart your bash shell

sudo apt-get install git-core bash-completion 

Once successfully installed , just run

bash

By doing so new commands gets initialized in auto completion and it will start working .

Hope this helps