ben / tech / gitcompletion
2009-12-14: The main git release has contained bash tab completion for quite a long time. Use that instead of this gitcompletion.
On 2006-04-24, I changed the recommended repository location. If you are having trouble getting updates, you should try the new location: http://git.hawaga.org.uk/gitcompletion
Here is some code that I have stolen from Blaisorblade and added to, implementing tab-completion for git, cogito and stacked git.
It is by no means complete, and extra stuff to go in is gladly accepted.
To get the latest, type:
cg clone http://git.hawaga.org.uk/gitcompletion cd gitcompletion source all-compl
The repository is also available for browsing in gitweb.
RPMs at: rpmfind.net.
Debian packages at: http://packages.debian.org/git-completion.
The cogito-relevant portions of this are included (by manual sync) in the official Cogito tree, so you probably do not need to download it from here again if you just want reasonably-recent cogito-only completion.
I welcome any feedback (positive or negative or even just to say that you actually downloaded and used it...): email@example.com