{"thread":{"id":"62222","subject":"Rewriting history - email/author change on match?","startedAt":"2024-09-30T22:17:05Z","lastAt":"2024-09-30T22:23:09Z","messageCount":2,"participants":["Dom (shymega) Rodriguez","Kristoffer Haugsbakk"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"503781","messageId":"biapebw5nsonirhirnunsgu4wnbynt4zdn4rud5kdvwljnpz63@3hc3ujx2gosw","threadId":"62222","inReplyTo":null,"subject":"Rewriting history - email/author change on match?","fromName":"Dom (shymega) Rodriguez","fromEmail":"shymega@shymega.org.uk","sentAt":"2024-09-30T22:04:38Z","receivedAt":"2024-09-30T22:17:05Z","isPatch":false,"sender":{"key":"shymega@shymega.org.uk","avatar":null},"body":"Hello,\n\nI've got a few private repos that I am the sole contributor to, but some\ncommits are under my usual Git author+email. These commits are\nautomated, and I'd like to rewrite commits that match the commit message\n(the message is consistent) and the 'old' author+email to a new\nauthor+email, but retain the commit message.\n\nThe tool that springs to mind is `git-filter-branch`. However, I've also\ncome across `git-filter-repo` on GitHub.\n\nI'm a little confused, and I wanted to ask for advice on the list. I did\ntry using `git-filter-branch`, but got lost quickly with\n`--commit-filter/`--msg-filter`.\n\nI also found a 'users' Git mailing list on Google Groups, but by the\nwarning I got from Google, it has a spam issue. If this is the wrong\nplace to ask for help, please do let me know.\n\nThank you.\n\nBest wishes,\n--\nDom Rodriguez\nGPG Fingerprint: EB0D 45E6 D0DC 1BA1 A2B5  FC24 72DC F123 1E54 BD43\n"},{"id":"503785","messageId":"c1cba0df-a8a9-4f33-954e-765a5b2cea8c@app.fastmail.com","threadId":"62222","inReplyTo":"biapebw5nsonirhirnunsgu4wnbynt4zdn4rud5kdvwljnpz63@3hc3ujx2gosw","subject":"Re: Rewriting history - email/author change on match?","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2024-09-30T22:22:48Z","receivedAt":"2024-09-30T22:23:09Z","isPatch":false,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"On Tue, Oct 1, 2024, at 00:04, Dom (shymega) Rodriguez wrote:\n> Hello,\n>\n> I've got a few private repos that I am the sole contributor to, but some\n> commits are under my usual Git author+email. These commits are\n> automated, and I'd like to rewrite commits that match the commit message\n> (the message is consistent) and the 'old' author+email to a new\n> author+email, but retain the commit message.\n>\n> The tool that springs to mind is `git-filter-branch`. However, I've also\n> come across `git-filter-repo` on GitHub.\n>\n> I'm a little confused, and I wanted to ask for advice on the list. I did\n> try using `git-filter-branch`, but got lost quickly with\n> `--commit-filter/`--msg-filter`.\n\ngit-filter-repo(1) is better—even `man git-filter-branch` recommends it.\n\n> I also found a 'users' Git mailing list on Google Groups, but by the\n> warning I got from Google, it has a spam issue. If this is the wrong\n> place to ask for help, please do let me know.\n\nYes.  That place is dead.  Avoid it.\n\nOr it was when I looked at it back in February.\n\nhttps://lore.kernel.org/git/339f17e1-c6a0-4859-aa5b-481dd6e0e91b@app.fastmail.com/\n\n-- \nKristoffer Haugsbakk\n"}]}