I\'m wondering if there\'s a way to avoid having to type the word git at the beginning of every Git command.
git
It would be nice if there was a way to use the
Here is another way. It's also not quite what was asked, but I've been using it for some time and it is pretty nice. Add the following line to your ~/.bashrc:
~/.bashrc
complete -E -W git
Now pressing Tab at an empty Bash prompt will type out "git ".