How to create an alias for a command?
git config --global alias.name command
To create an alias for a command used often or for commands that are long and hard to remember use git config --global alias.name command
.
git config --global alias.st status
git st
On branch main
nothing to commit, working tree clean
See git config to learn more about it.