I use git commit --amend --no-edit too. Mostly for small changes (e.g., missed semicolon) that worth a commit.
git commit --amend --no-edit
I honestly didn't know about --no-edit until now. Thanks for saving me the keystrokes 😂.
--no-edit
There's another one I used when for whatever reason I need to retrigger CI/jenkins without making any change
git commit --allow-empty -m 'trigger'
Mine are all very similar to this! Although I don't use clear -- CMD/CTRL+L does the trick
clear
Oh my god, I never knew the CTRL+L tip, you've LITERALLY changed my life.
CTRL+L
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
git commit --amend --no-edit
too. Mostly for small changes (e.g., missed semicolon) that worth a commit.I honestly didn't know about
--no-edit
until now. Thanks for saving me the keystrokes 😂.There's another one I used when for whatever reason I need to retrigger CI/jenkins without making any change
Mine are all very similar to this! Although I don't use
clear
-- CMD/CTRL+L does the trickOh my god, I never knew the
CTRL+L
tip, you've LITERALLY changed my life.