Hacker News new | ask | show | jobs
by frfl 913 days ago
For git aliases you should definitely checkout alises[1] you can define in your global git config, ~/.gitconfig, and the fact git will let you define custom subcommand if you create a `git-foo` executable in your PATH, for example, create a executable shell file called, `git-foo` somewhere in your PATH and you can run it like `git foo`.

[1]: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases