-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Short aliases for git commit --amend
(bang)
#2218
base: master
Are you sure you want to change the base?
Conversation
The failing of the |
This would be a nice enhancement of the Git aliases. Please, merge! |
@bittner Could you |
With a bang (!) character we can make amending a commit intuitively dangerous. The idea is taken from Oh-My-Zsh, https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
Done. CI jobs all pass. Ready for merging? |
@davidpfarrell @NoahGorny @gaelicWizard Any interest to weigh in here? This introduces the |
Note that the bang is inspired by OMZ, hence we're harmonizing with the other framework, which I think is considered a good idea judging from other discussions in this repo. Please go ahead. I created several PRs for git-aliases, so that integrating them can get discussed in depth. But it should also allow to speed up merging okay-PRs. If there are no objections, please don't wait any longer. Press the button. Thank you! |
Can we merge this minor enhancement? |
Is there any chance to get this PR merged? 🙏 |
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. I just made the identical changes to a fresh installation of bash-it on my developer machine. They work as expected.
Checklist:
clean_files.txt
and formatted it usinglint_clean_files.sh
.