▲ | zahlman 11 hours ago | |||||||
When I make Bash aliases or functions for Git functionality, I always name them as `git-something-or-other`. That way they're namespaced in a way that I find pleasant both for tab completion and for easy of memory. I think that should apply to more complex utilities, too. By my usual naming conventions, this one would be `git-repeatedly-changed`. | ||||||||
▲ | nothrabannosir 11 hours ago | parent [-] | |||||||
Last but decidedly not least: if you have `git-foo` on the PATH, you can do `git foo` and it will automatically pick up your program. If I remember early git days correctly, that's how git was implemented: a bunch of separate utilities working together on the database which is the .git folder. | ||||||||
|