Essential goal of Gitalias is to turns git command into shortest possible sequence of characters (an alias) where the alias does not have to be remembered but it can be mnemotechnically derived from the full command.
https://josefpihrt.github.io/docs/gitalias
- Copy list of aliases and paste it to your .gitconfig file.
git th # reset --hard
git sm # switch main
git l # pull
git sc feature/foo # switch --create feature/foo
# Implement feature ...
git aa # add --all
git cm "Implement foo" # commit --message "Implement foo"
Use GitHub CLI or web UI ...
git sm # switch main
git l # pull
git opo # remote prune origin
git bdf feature/foo # branch --delete --force feature/foo