Post #1385727
2026-04-02 09:41 UTC
@whynothugo who doesn't have aliases for frequently used commands?
$ alias g=git
$ g config set alias.cm "commit --message"
And thereafter:
$ g cm "Init"
Replies (1)
-
@whynothugo@fosstodon.org 2026-04-02 11:48
@alerque I use ctrl+r to fuzzy-search in history, so I use, for example, "ctrl+r,am" to match "git commit --amend". I have a few aliases for git, `s=git status --short` and `p=git push -u origin HEAD`, `f=git fetch`.