Roman Starkov
Roman Starkov

Reputation: 61402

Can I associate a GitHub user with his commits by name only, BitBucket-style?

I've seen Github shows name instead of a linked username in commits and I realise that the right thing to do is to link by email. However, I already have a repository with a whole bunch of commits whose email is "none@none".

On BitBucket, I can specify a per-project mapping of committer name to BitBucket account, and this has worked well enough. Is there anything like this on GitHub?

If not, what other options are there, short of leaving the commits unlinked and rewriting the entire history?

Upvotes: 1

Views: 80

Answers (1)

VonC
VonC

Reputation: 1324258

You can use .mailmap file in your repo, for mail aliased (as stated in "“Alias” git authors/committers?")

You also can add another email in your Email setting account.

But both solutions don't scale well when several authors use the same none@none email.

Upvotes: 2

Related Questions