DEV Community

Discussion on: What are your top ten command lines?

Collapse
 
amejiarosario profile image
Adrian Mejia

I use git commit --amend --no-edit too. Mostly for small changes (e.g., missed semicolon) that worth a commit.

Collapse
 
ifenna__ profile image
Ifenna

I honestly didn't know about --no-edit until now. Thanks for saving me the keystrokes 😂.

Thread Thread
 
amejiarosario profile image
Adrian Mejia

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'