Hacker News new | ask | show | jobs
by codetrotter 712 days ago
> If I want to commit I open the command palette with command+p and then fuzzy-search for commit with “co…” or “cm” or whatever you like, and it brings up the suggested commands which I can select with enter.

cm is exactly how I think of commit, but I use it as a custom command on the cli.

I use my cm command like:

cm “Small refactoring of quux and baz”

and it runs

git commit -m “Small refactoring of quux and baz”

Similarly I have other two letter commands for all of the other git operations I most frequently use. (I.e for almost all of the ones I use day to day.)