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 😂.
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
Oh my god, I never knew the CTRL+L tip, you've LITERALLY changed my life.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.