Re: Wrong author name in git commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, there is a way to change that. You can do...
$ git config --global user.name "Romain Forlot "
$ git config --global user.email "rforlot@xxxxxxxxx"

...to reset your email and username preferences. That will always do 'git commit' as "Romain Forlot <rforlot@xxxxxxxxx>."

You can also do....

$ git commit -a -m "message" --author Romain Forlot <rforlot@xxxxxxxxx>

--author overrides whatever the config setting is.

HTH,
Deon

P.S. Those only apply to new commits; I don't know of a way to edit an existing commit.


On 3/14/2012 5:36 PM, Romain Forlot wrote:
Hi,

I do my first commit on user guide doc but I do not have configured git to use a specific name and mail address. So, I see that my git commit using 'git log' showing Claneys Skyne
"Author: Claneys Skyne <claneys.skyne@xxxxxxxxx>"
instead of:
"Author: Romain Forlot <rforlot@xxxxxxxxx>"

Is it possible to change that ?

Thanks.
--
*Romain Forlot*

pub 4096R/862907E5 2011-05-26
Key fingerprint = 4549 A7CA 17DC D0AA 0FE0 7953 E6A8 A0C8 8629 07E5
uid Romain Forlot <rforlot@xxxxxxxxx>
sub 4096R/153E34C2 2011-05-26




-- 
docs mailing list
docs@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/docs

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux