git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rewriting history - email/author change on match?
@ 2024-09-30 22:04 Dom (shymega) Rodriguez
  2024-09-30 22:22 ` Kristoffer Haugsbakk
  0 siblings, 1 reply; 2+ messages in thread
From: Dom (shymega) Rodriguez @ 2024-09-30 22:04 UTC (permalink / raw)
  To: git MAILING LIST

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

Hello,

I've got a few private repos that I am the sole contributor to, but some
commits are under my usual Git author+email. These commits are
automated, and I'd like to rewrite commits that match the commit message
(the message is consistent) and the 'old' author+email to a new
author+email, but retain the commit message.

The tool that springs to mind is `git-filter-branch`. However, I've also
come across `git-filter-repo` on GitHub.

I'm a little confused, and I wanted to ask for advice on the list. I did
try using `git-filter-branch`, but got lost quickly with
`--commit-filter/`--msg-filter`.

I also found a 'users' Git mailing list on Google Groups, but by the
warning I got from Google, it has a spam issue. If this is the wrong
place to ask for help, please do let me know.

Thank you.

Best wishes,
--
Dom Rodriguez
GPG Fingerprint: EB0D 45E6 D0DC 1BA1 A2B5  FC24 72DC F123 1E54 BD43

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Rewriting history - email/author change on match?
  2024-09-30 22:04 Rewriting history - email/author change on match? Dom (shymega) Rodriguez
@ 2024-09-30 22:22 ` Kristoffer Haugsbakk
  0 siblings, 0 replies; 2+ messages in thread
From: Kristoffer Haugsbakk @ 2024-09-30 22:22 UTC (permalink / raw)
  To: Dom (shymega) Rodriguez, git MAILING LIST

On Tue, Oct 1, 2024, at 00:04, Dom (shymega) Rodriguez wrote:
> Hello,
>
> I've got a few private repos that I am the sole contributor to, but some
> commits are under my usual Git author+email. These commits are
> automated, and I'd like to rewrite commits that match the commit message
> (the message is consistent) and the 'old' author+email to a new
> author+email, but retain the commit message.
>
> The tool that springs to mind is `git-filter-branch`. However, I've also
> come across `git-filter-repo` on GitHub.
>
> I'm a little confused, and I wanted to ask for advice on the list. I did
> try using `git-filter-branch`, but got lost quickly with
> `--commit-filter/`--msg-filter`.

git-filter-repo(1) is better—even `man git-filter-branch` recommends it.

> I also found a 'users' Git mailing list on Google Groups, but by the
> warning I got from Google, it has a spam issue. If this is the wrong
> place to ask for help, please do let me know.

Yes.  That place is dead.  Avoid it.

Or it was when I looked at it back in February.

https://lore.kernel.org/git/339f17e1-c6a0-4859-aa5b-481dd6e0e91b@app.fastmail.com/

-- 
Kristoffer Haugsbakk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-30 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 22:04 Rewriting history - email/author change on match? Dom (shymega) Rodriguez
2024-09-30 22:22 ` Kristoffer Haugsbakk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).