I use the same alias you named cwa (amend no-edit). I named it git fixup. Because that's used to fix the previous commit.
I also use git puf = git push --force-with-lease
Thanks for reading Jérôme! Glad to know I'm not the only one 😂 If you use a Zsh based shell, you can install the Oh My Zsh framework which includes a plugin for git aliases and functions, along with tons of other plugins.
Zsh
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I use the same alias you named cwa (amend no-edit). I named it git fixup. Because that's used to fix the previous commit.
I also use git puf = git push --force-with-lease
Thanks for reading Jérôme! Glad to know I'm not the only one 😂 If you use a
Zsh
based shell, you can install the Oh My Zsh framework which includes a plugin for git aliases and functions, along with tons of other plugins.