I'm new to Git and I struggle already at the first configuration:

git config --global user.name "My Name"
error: could not lock config file c://.gitconfig: Permission denied

First thing to notice: the config file is not located directly in C:, but 
in C:\Program Files\Git\etc.
I can edit it manually without any problems, so my user account has a write 
I would not mind simply editing the file manually, but I got the same error 
message later when I wanted to clone a project using the Git Gui. This 
doesn't happen if I clone using Git Bash.

I'm working on a Windows XP machine. I installed Git on a second machine 
but I didn't get the error.
Any ideas?  

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to