Constantly doing a git rebase before sending commits to the repository and this is what I don’t really like. Two commits, which I combine via squash or fixup, are repeated twice in the description of the author of a commit:

enter image description here

Apparently, the first is the one who made the first commit, and the second is the one who pours in the commit. Well, or maybe the author of the second commit, it does not matter: this is me too!

Can I somehow adjust to make such coincidences immediately look like a clean commit? Like this:

enter image description here

Of course, I know a guaranteed way: once again, do a rebase, mark a commit via edit, disassemble it back and reassemble, but somehow there are too many actions for such an operation. It would be great if the author of the rebase coincides with the author of the commits being merged, the history was cleaner.

He tried different settings on rebase himself, searched for git filter-branch scripts and tried to remove commits older than a minute from reflog using git fsck / gc.

  • And not all the same? In fact, these two fields are always there, just when they match, your editor does not show a double. In this case, time is different. - Alexey Ten
  • @AlexeyTen a) Extra information, only distracting. And minor perfectionism again. b) the described behavior in all git viewers, I not only use the studio. c) it means that the second commit needs to rewrite the time for the same - yeah, I'll try. - AK

0