I have just created a project at https://www.drupal.org/project/ex_icons but I have just noticed that two of the most recent commits on the 8.x-1.x release branch have incorrect commit author information.

Would it be at all possible for someone to either roll back the branch two commits, or delete the release so I can re-push the commits with the correct author, or something else to solve this mistake I made?

Any help is appreciated, thanks!

Comments

Wongjn created an issue. See original summary.

avpaderno’s picture

Title: Git commit/release amendments » Commits aren't associated to my account

The commits aren't associated with the account because the email used for the commits isn't one of the email shown in https://www.drupal.org/user/3055747/edit/email-addresses. You need to add the email in that page, to avoid that happens in the future.

avpaderno’s picture

Project: Drupal.org site moderators » Drupal.org infrastructure
Component: Project/Git problem » Git

As for associating the past commits to your account, once you have added the email to your account, an administator can fix the commits.

wongjn’s picture

Thank you for your response. I have now set and confirmed the alternative email address to my account.
Please can an administrator fix the commits such that the author is consistent with the other commits.

drumm’s picture

Assigned: Unassigned » drumm
Status: Active » Fixed

Done!

wongjn’s picture

Status: Fixed » Needs work

Sorry, it seems I may been unclear.

I'd like the commits for 552b948f and d6fa5573 to have author and committer changed to name wongjn and email to SaltPacket@3055747.no-reply.drupal.org.

They incorrect commits are currently associated to my Drupal account because I have temporarily added the incorrect git email to my account, but I would like to remove it again once resolved.

drumm’s picture

We generally do not support rewriting Git history for release branches. When you need to use a dev release, many people pin to specific commit hashes; so changing them causes confusion when a commit hash effectively disappears. And anyone else with a Git clone of the project may have extra steps to pull in rewritten remote history.

If this is a privacy concern, and you understand the drawbacks, we can spend a bit of time to manually bypass this. If this is necessary, go ahead and push the corrected commits to a separate branch.

wongjn’s picture

Status: Needs work » Fixed

OK, understood. I thought it might have been OK to rewrite the git history since the project was only created and pushed several days ago. We'll leave it as is then I guess! Thank you for the help.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.