On 16/10/2007, Matthieu Moy <Matthieu.Moy@xxxxxxx> wrote: > "franky" <yinping@xxxxxxxxxx> writes: > > >> Also, you can use aliases (for example, I type "git st" to do "git > >> status") with "git whatever", but not with "git-whatever" (unless you > >> define the alias in your shell). > > I try "git st", but it complains "git: 'st' is not a git-command". > > Sure, I'm talking about aliases, so what I meant is that I had > > [alias] > st = status > > in ~/.gitconfig. If you use the contrib/completion/git-completion.bash script, you can type "git st<TAB>", and it'll complete it for you. Well, it did, until git-stash came along and ruined it... At any rate, the bash completion also completes things like branch names, which can be immensely helpful. Dave. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html