Looks like --amend create commit... don't understand
From: mat <hidden>
Date: 2016-06-15 22:48:21
Hi Sorry for this question that might appear soo simple but I'm a little bit lost :-( When editing my code, I like to --amend it a lot between bigger commits. But when looking on gitk, I see that git commit blabla --amend does create each and every time a new commit, I mean: with git log, there is only one commit, but on gitk, I see many, with the same name but different revision ID.... My understanding was that it would only replace, not create each time a new revision.. Could you please explain me where Iàm wrong and what is happening exactly? Furthermore, if I wish to delete all those intermediary amend commit, can I do it? If yes, how? Thanks a lot for this help! Matthieu