You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible that there are read/write permission issues that are causing these values to not get written to that file? Generally an error would be thrown in that case, but that's one thing we have seen in the past.
There might not be a local setting for your git credentials. Go to your repo in the command line and run git config --local -l. If you do not see your name/email there, run:
You can solve the problem with the global solution, but firstly I want to describe the solution for each project individually, cause of trustfully compatibility with most of Git clients and other implemented Git environments:
Individual Solution
Go to the following location:
Local/repo/location/.git/
open "config" file there, and set your parameters like the example (add to the end of the file):
[user]
name = YOUR-NAME
email = YOUR-EMAIL-ADDRESS
Is it possible that there are read/write permission issues that are causing these values to not get written to that file? Generally an error would be thrown in that case, but that's one thing we have seen in the past.
I use vscode to commit my change. when commit, login my account and vscode works, then the change submited. so maybe the issue is not cause read/write permission, because vscode use git directly.
Activity
tierninho commentedon Jul 25, 2019
@silverleaves Thank you for filing this.
What happened when you ran the two commands? You can also opt to set your git credentials under the Options menu > Git tab.
Also, please submit your logs --- see the Help menu.
Akimotorakiyu commentedon Jul 25, 2019
I tryed, But it didn't work, even reinstall git and github desktop.
I tryed, But it didn't work, even reinstall git and github desktop.
Akimotorakiyu commentedon Jul 25, 2019
2019-07-25.desktop.production.log
steveward commentedon Jul 25, 2019
@silverleaves can you go to File Explorer and navigate to
C:\Users\Silver\and open the.gitconfigfile located there?The entries should look like this in that file:
Is it possible that there are read/write permission issues that are causing these values to not get written to that file? Generally an error would be thrown in that case, but that's one thing we have seen in the past.
tierninho commentedon Jul 25, 2019
@silverleaves Thanks for the information.
There might not be a local setting for your git credentials. Go to your repo in the command line and run
git config --local -l. If you do not see your name/email there, run:git config user.email [email protected]git config user.name SilverLeavesThat should do it.
An alternative solution is:
You can solve the problem with the global solution, but firstly I want to describe the solution for each project individually, cause of trustfully compatibility with most of Git clients and other implemented Git environments:
Individual Solution
Go to the following location:
Local/repo/location/.git/open "config" file there, and set your parameters like the example (add to the end of the file):
Akimotorakiyu commentedon Jul 26, 2019
@steveward

I use vscode to commit my change. when commit, login my account and vscode works, then the change submited. so maybe the issue is not cause read/write permission, because vscode use git directly.
Akimotorakiyu commentedon Jul 26, 2019
I don't know why. now it can work.
I will close this issue, thank you very much!
tierninho commentedon Jul 26, 2019
Thanks for the update @silverleaves !!