Google
  Web www.spinics.net

Re: Wrong author name in git commit

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


On Fri, Mar 16, 2012 at 02:21:13PM +0100, Romain Forlot wrote:
> I don't understand what is going on...
> That's what I have in global git variables :
> # git config --global -l
> user.name=Romain Forlot
> user.email=rforlot@xxxxxxxxx
> color.diff=auto
> color.status=auto
> color.branch=auto
> 
> And that's my git config file in the cloned repository :
> # cat .git/config
> [core]
> 	repositoryformatversion = 0
> 	filemode = true
> 	bare = false
> 	logallrefupdates = true
> [user]
> 	name = FORLOT Romain
> 	email = rforlot@xxxxxxxxx
> [remote "origin"]
> 	fetch = +refs/heads/*:refs/remotes/origin/*
> 	url = ssh://git.fedorahosted.org/git/docs/user-guide.git
> [branch "master"]
> 	remote = origin
> 	merge = refs/heads/master
> [branch "f16"]
> 	remote = origin
> 	merge = refs/heads/f16
> 
> # cat ~/.ssh/config
> Host *.fedorahosted.org fedorapeople.org
> User rforlot
> 
> But when I'm commiting, it always show me wrong user except when I'm
> using 'git commit -a --author "..."' method. At least now, I do a good
> commiting, I think, by following guide to using git in docs project :
> http://fedoraproject.org/wiki/Docs_Project_work_using_git
> And I doesn't see my commit into git repository.
> 
Do you have GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL env. vars. set?  Those will
override the repo specific config IIRC.

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



[Home]     [Fedora Legacy]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Red Hat 9]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

Powered by Linux

Google
  Web www.spinics.net