0 votes
1 view
in Devops and Agile by (20k points)

Is there a way to amend a commit without vi (or your $EDITOR) popping up with the option to modify your commit message, but simply reusing the previous message?

1 Answer

0 votes
by (28.4k points)

Here's a command that should do the magic

$ git commit --amend --no-edit -a

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...