[git-users] Re: could not lock file gitconfig: permission denied
Yes, I did. It seems to be a problem with git GUI (git-gui version 0.16). On bash it is working, but not using the GUI. It is not only a warning message, but the commit doesn't take place. I'll try a different GUI. I'm somehow fixed to make GUI working, since I won't convince my collegues to use any version control if there is no GUI... -- 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 https://groups.google.com/d/msg/git-users/-/DR34FmZvvskJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Re: could not lock file gitconfig: permission denied
I restarted Git Bash (I see, it is necessary). Git doesn't complain any more, but does not write in the file where it looks later. After playing around with, I have now 3 config files: C:\Program Files\Git\etc\gitconfig, and two in my home directory: gitconfig and .gitconfig (with and without dot in the beginning). The latter one appeared at some point, when I was setting HOME manually to my home drive. I edited the user information in all three files manually. Git seems to look only in C:\Program Files\Git\etc\gitconfig . If the information is in this file, everything is fine. If not, I get the message tell me who you are, independently of the information in the other files. -- 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 https://groups.google.com/d/msg/git-users/-/05FwUimPs4UJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Re: could not lock file gitconfig: permission denied
Here the different cases I tried: 1.) changing the initial line HOME=$HOMEDRIVE$HOMEPATH to HOME=$USERPROFILE. Creates .gitconfig when I call git config --global user.name Name. This file contains only the user (name, email) information. Changes are seen by -l. Commit fails with tell me who you are. 2.) changing the initial line HOME=$HOMEDRIVE$HOMEPATH to HOME = C:/Documents and Settings/me/. Same behaviour as in 1.) 3) adding a line HOME = C:/Documents and Settings/mbader/ after the complete section where home is defined. Git Bash start with an error message HOME command not found, but I can use it. Git behaves later as if this line is not existing. git config -l sees changes in .gitconfig and in C:\Program Files\Git\etc\gitconfig, but not in C:\Documents and Settings\me\gitconfig. -- 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 https://groups.google.com/d/msg/git-users/-/Z9noTS_-0oIJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] could not lock file gitconfig: permission denied
Hi, I'm new to Git and I struggle already at the first configuration: git config --global user.name My Name gives 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 permission. 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 https://groups.google.com/d/msg/git-users/-/5YSAXJ2kkcAJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.