On Wed, Jan 12, 2022 at 4:11 AM Taylor Blau <me@xxxxxxxxxxxx> wrote: > > Silly question, going further off-topic: What's "git always" doing? > > Oops, I should have mentioned. It's another alias to ensure that the > following command is always run in a Git repository (either the current > one or a hand-picked default): > > $ git config alias.always > !git rev-parse 2>/dev/null || cd ~/src/git; git > > I often read mail out of my home directory, and the above works with my > `:Git` command in Vim (which passes its arguments to `git always` and > inserts the result back into my buffer). That way I don't have to first > `:cd ~/src/git` and then `:Git ll xyz`, I can just `:Git ll xyz` and it > does what I meant most of the time. The same question is clear now。 Thanks for the explanations from Taylor Blau and René Scharfe.