bullseyestudio/guns-game — comment on commit 032312c9ac7c3daad924d1489a7f66fadb8a8147
File:  line 0
By narc0tiq:

Basically, do not --amend something you've pushed upstream. The parent commit stays the same, but the commitid changes, meaning there are suddenly two child commits of the same parent for supposedly the same branch.

Also, what I personally advocate with regards to amending commits is, don't bother (unless it's something important like the commit message). Likewise for squashing commits. Extra work for not that much gain.