• Register
0 votes
211 views

Problem :

I wanted to commit to the Github desktop I am currently using windows 8.1 and this is my first time to commit using Github I only did it  once on my Linux before that, but now I am getting following error 

Commit failed - exit code 128 received,

and below are the commands

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

which ideally I should run them in the command prompt. But the issue is I don't know which path I should set up in the prompt before running above listed commands also I am unable to find the git.exe I found the git.bat at below path are they the same?

C:\Users\<username>\AppData\Local\GitHubDesktop\bin\git.bat

6 5 3
7,540 points

1 Answer

0 votes

Solution :

Actually those config options will be automatically globally set once you have run them. But  I never had to set them by myself as GitHub Desktop automatically did that for me. You need to Go through the settings in the GitHub and confirm that you have defined your details correctly.

If you at all need to run them manually, your GIT.EXE will be found in the GitHub program files folder.

cd \<path to git.exe> git config --global user.email "you@example.com" git config --global user.name "Your Name"

And your issues are solved now.

9 7 4
38,600 points

Related questions

0 votes
1 answer 32 views
32 views
Problem : Currently I am trying to use TortoiseGit on Windows. But when I want to Clone from a context menu of my standard Windows Explorer, I face below error: Please make sure you have the correct access rights and the repository exists How can I make my git work properly?
asked Jan 10 alecxe 7.5k points
0 votes
1 answer 41 views
41 views
Problem : I am trying to use the TortoiseGit on my Windows. But when I want to Clone it from my context menu of the standard Windows Explorer then I face below error: Please make sure you have the correct access rights and the repository exists In more detail the complete snapshot of ... exit cleanly (exit code 128) (21450 ms @ 17.12.2019 10:36:58) What should I do to make my git work correctly ?
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 6 views
6 views
Problem: hello Everyone, We are working on the firebase based real-time messaging application and we are encountering this error whenever we try to run our application. The compiler we are using is Xode11 and the language version is swift 5. Your valuable response is welcomed. Thanks
asked Oct 12 SapperIt 1.2k points
0 votes
1 answer 52 views
52 views
Problem: I am trying to archive my project but facing very unexpected error as shown below: Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks Showing ... : pod 'IQKeyboardManagerSwift'  pod 'SDWebImage', '~> 4.0'  pod 'KRPullLoader'  pod 'Paytm-Payments'
asked Aug 25 Raphael Pacheco 4.9k points