Replies: 3 comments 2 replies
-
Hi @BartTK , When you push with the correct username but with an incorrect email address, the commit isn't actually associated with any account as it doesn't exist, you may see your username with a blank profile picture, which basically means it's a non-existent account, so you don't have to worry about that. As for your old commits, changing the author of the last commit is fairly easy by running |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
The other user can't see your commits since it's a private repo. To fix the email on past commits, you’ll need to rewrite the commit history (using interactive rebase or git filter-branch) and then push with --force. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
In my latest private repository, GitHub associated all my commits with a different GitHub account. When I look at
git log
locally on my PC, it show my username. However, it seems I made a copy/paste error in the anonimized email address from GitHub. Apparently I missed the first digit of the number in front of that address. I've fixed my email address for future commits.But what about the old commits?
First of all I find it odd that GitHub associates them with a completely different account. That other account cannot be using that incorrect email address as it does have my GitHub username in it. Bug?
Does this also mean that this other user can now see/access these commits? Collaborator settings of the specific private repository shows there are no collaborators with direct access.
Beta Was this translation helpful? Give feedback.
All reactions