Hacker News new | ask | show | jobs
by akkartik 5251 days ago
I recently discovered that creating a script called git_command somewhere in your path makes this work:

  $ git command
Now these recommendations are easy to implement.
1 comments

Some experimentation suggests that it's actually `git-command` (with a hyphen, not an underscore). This is consistent with the man pages, where, for example, one asks for `man git-add`.

EDIT: Not to take away from this handy tip, which I didn't know. I guess one can view it as a sort of souped-up alias.

Oops, that was a typo.