News for hackers. Stuff that matters.
Re:Git Internals, Techniques, and Rewriting History by emmelaich on Monday October 21, 2019 @08:47PM (#21319244)
You can just put any executable in your PATH with name of git-WHATEVER.

e.g.

    $ echo echo hello world > ~/bin/git-hello-world
    $ chmod +x !$
    $ git hello-world
    hello world
You'll even get typo recognition:

    $ git hello-worl
    git: 'hello-worl' is not a git command. See 'git --help'.

    The most similar command is
       hello-world

There are no comments on this comment yet.