Hacker News new | past | comments | ask | show | jobs | submit login

Git will translate any call in the likes of `git foo bar baz` to a call to a binary `git-foo bar baz`. See https://stackoverflow.com/questions/10978257/extending-git-f....



Thank you. This behavior isn't documented in the man pages as far as I can tell?


Suprisingly calling "man git add" will also look for a manpage call "git-add" and display it.


Apparently, not. Side note, kubectl also has this feature with similar convention wrt binary name pattern.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: