6
shine
3y

That feeling when you mess up and you need to add a new commit and mention in the commit message that the previous commit ( that you created ) was a mistake.

I'd be happy to do the same thing if it was someone else's mess up.

Comments
  • 0
    Any reason why not to amend? Except for the force push
  • 0
    @alexbrooklyn 2 reasons :

    1. There were more commits after the buggy commit

    2. The commit was already pushed to remote

    if I wanted to cover my mess, the only option that I can think of is rebase + force push which would make a lot more people unhappy than only me.
Add Comment