this article suggests shell allowed, but git also has a built-in feature for aliases itself. I prefer these as it allows you to keep using the git
command normally (more consistent when you tend to use history search/auto-suggestions heavily).
running git config --global alias.st status
, for example, will allow you to run git st
as an alias for typing out the full git status
(you can also manually add aliases to your ~/.gitconfig
).
haven’t tried it myself, but I’ve heard https://earthly.dev/ is supposed to address the execute locally problem