Monthly Archives: June 2019

How to amend not latest commit message in pushed branch

git rebase -i HEAD~3 Replace pick with reword Press Esc then :x! to save and close Change commit message Press Esc then :x! to save and close git push –force origin feature branch

Posted in Git, Uncategorized | Leave a comment