My git log showing like below.
3c61cc9 Commit A
dcf34cd Commit B
821cfe8 Commit A
7a5a58f Commit C
0987a57 Commit D
12721a1 Commit B
Here A & B each appear twice with different commit-ID, Also git diff 3c61cc9 821cfe8 is identical, no difference between each commit. So is there a way to remove these duplicates?