How to change git committer name and email ?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Anonymous's picture

Hi guys
I am facing a problem of changing the git author like as you see here https://drupal.org/node/1310686/commits .The first three commits are by naveenvalecha. can I change the name of naveenvalecha with nitingoyal ?
if it is possible then how can I change the username ?

Comments

file issue on drupal.org infrastructure

Anonymous's picture

After discussion with chx over irc
[12:21] Hi guys
[12:22] I have a problem of how to change the git commit author on drupal.org ? Posted teh same ehre https://groups.drupal.org/node/310048 I need help into this how to do this
[12:22] https://groups.drupal.org/node/310048 => How to change git committer name and email ? => 0 comments, 1 IRC mention
[12:24] git commits are immutable
[12:25] there's no way to change after the fact
[12:26] == threesome [~threesome@ip-94-113-12-233.net.upcbroadband.cz] has joined #drupal-gitsupport
[12:28] @chx ok Thanks for the information
[12:29] @chx++
[12:29] in fact , it's one of the biggest strength of git
[12:29] the commit hash is a hash of a lot of things
[12:30] and if you know the commit hash, there's no way to touch the code , the authors, the message
[12:30] this is why you can host code on drupal.org or github
[12:30] and not be worried what the host does
[12:31] @chx I am in a bit trouble.My senior told me to change the git commit username with our username but I did the commits bymistake using my id .Can you suggest he how to resolve this trouble
[12:32] here it is https://drupal.org/node/1310686/commits
[12:32] https://drupal.org/node/1310686 => Bundle copy => 0 comments, 1 IRC mention
[12:32] you can file an infa issue and / or talk to sdboyer but i seriously doubt there's anything do be done
[12:33] ok thanks @chx

For this issue I opened an issue here https://drupal.org/node/2056227

discussion fixed

naveenvalecha's picture

discussion closed.find answer here https://drupal.org/node/2056227#comment-7712509