Discussion:
[git-users] problem in tortoisegit commit
Mousa Najafi
2015-02-08 09:53:56 UTC
Permalink
<Loading Image...>
hi

when i right click and select git commit during to commit show me message
for commit you must set user name and email so i select yes in the git
setting i select global and type my name and email when click OK show me
error "saving config failed (key: "user.name", value:"Mousa Najafi").
libgit2 returned: Failed to create locked file
'c:user/mousa//.gitconfig.lock': the system connot finde the path specified.

please help me to resolve that
--
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Ferris Nicolaisen
2015-02-08 20:26:34 UTC
Permalink
Post by Mousa Najafi
<https://lh4.googleusercontent.com/-aKjEnTUpWig/VNcyKtVuzGI/AAAAAAAAACQ/zrWu6HlpL9E/s1600/1.png>
hi
when i right click and select git commit during to commit show me message
for commit you must set user name and email so i select yes in the git
setting i select global and type my name and email when click OK show me
error "saving config failed (key: "user.name", value:"Mousa Najafi").
libgit2 returned: Failed to create locked file
'c:user/mousa//.gitconfig.lock': the system connot finde the path specified.
please help me to resolve that
I've never seen anything like it, but then again, I don't use TortoiseGit
actively. Perhaps it's a new bug that snuck in as they're switching to use
libgit2 under the hood. Interesting. You should ask them about it on their
forum:

https://groups.google.com/forum/#!forum/tortoisegit-users
--
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mousa Najafi
2015-02-08 23:24:33 UTC
Permalink
YES

very kind of you, i solve the problem, my $home path was wrong and set the
correct path for $home (this part of environment variables)

thank you Thomas Ferris Nicolaisen
--
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nils Px
2016-02-12 10:53:36 UTC
Permalink
Hello Mousa,

i have the same problem. What is your new correct $home path?

thanks
Nils
Post by Mousa Najafi
YES
very kind of you, i solve the problem, my $home path was wrong and set the
correct path for $home (this part of environment variables)
thank you Thomas Ferris Nicolaisen
--
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...