Oct
22nd
Wed
22nd
Official Git Autocompletion Script for BASH
Installation instruction are in the header of the link. For the lazy it’s:
$ cd ~; wget [link]
$ echo 'source bash-git-completion.sh' >> ~/.bashrc
The script is just awesome, it’s very thorough and proivdes completion for commands, commands options, branch names, and all kinds of stuff.
The link to a file I posted points to my server, but if it’s down for some reason you can always get latest copy of this script at git contrib repository.
