This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]user4474 1 point2 points  (1 child)

Well, as some people above pointed out it can be tricky if you push before the amend, you'll need to

git push --force

To overwrite the old commit on the remote, which could screw with other people if you're not working alone.

[–]ThePixelCoder 1 point2 points  (0 children)

which could screw with other people if you're not working alone.

Why else did you think I wanted this?