bash-it
bash-it copied to clipboard
Short aliases for `git commit --amend` (bang)
Description
With a bang (!) character we can make amending a commit intuitively dangerous.
Motivation and Context
The idea is taken from Oh-My-Zsh, https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
How Has This Been Tested?
I use those aliases for years on my developer laptop.
Checklist:
- [x] My code follows the code style of this project.
- [x] If my change requires a change to the documentation, I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [x] If I have added a new file, I also added it to
clean_files.txtand formatted it usinglint_clean_files.sh. - [ ] I have added tests to cover my changes, and all the new and existing tests pass.