DEV Community

Discussion on: Editing a message of a pushed commit

Collapse
 
raddevus profile image
raddevus

Bookmarking this one to remember in the future.
Also, a question: Do you have to use --force when you push because of the amendment?

thanks

Collapse
 
alvesjessica profile image
Jessica Alves

@raddevus In the case you already pushed the branch, yes. Because you're rewriting the history.

Collapse
 
raddevus profile image
raddevus

Thanks for taking time to answer. I thought it might be something like that.

Great to have this info for future use. 👍🏽