Kanbaru 🌟 (one hikari of too many)
(replying to Kanbaru 🌟 (one hikari of too many))
you can use --reset-author when editing a commit, but not many people seem to know of that.
meanwhile using git merge --squash to do a squash merge of someone else’s work makes you the author now, and makes the date the current time. I don’t like that either.
Kanbaru 🌟 (one hikari of too many)
(replying to Kanbaru 🌟 (one hikari of too many))
for amending, I feel like changing the default behaviour is never going to happen. on the other hand, maybe I’ll eventually submit a patch to git to add an alternative squash mode…
in the meantime, I am using a very particular, manual process for all my git merges.
Richard Stephens
(replying to Kanbaru 🌟 (one hikari of too many))
@hikari when I am elected president, —amend will retain previous versions of the commit by default, and squash will be non-destructive.