Then you’re experiencing modrails !
So here’s your candy :
- cp /opt/local/etc/bash_completion.d/git ~/.git_auto_complete.sh
- mate ~/.profile
- Add “source ~/.git_auto_complete.sh” at the very bottom
- Open a new shell and go to your git directory
- Enjoy tabbing





Ha, nice. :D
Cunning, I like it.
Thought it worth pointing out how to get MacPorts into that situation in the first place though (+svn is optional, but also gives you support for git-svn):
If it’s already installed, uninstall or deactivate it. Then install it with the bash_completion variant:
Nice, saturday is my passenger experimenting day as well!
That file also allows you to add the current branch name to your bash prompt (read the instructions at the top). It’s really useful.
Rockin. I spent my Saturday morning doing the exact same thing :-). Not quite ready to move any larger higher-volume production apps quite yet, but been really impressed with ease of setup and performance so far.
For those of you who installed git from source, the bash script is in the tarball:
git-1.5.5/contrib/completion/git-completion.bash