• Register
0 votes
438 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

Please log in or register to answer this question.

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 2 views
2 views
Problem: Everything worked fine but suddenly I received an error on github. It was showing &ldquo;please tell me who you are.&rdquo; Why am I seeing this?
asked 1 day ago muktaa 2.7k points
1 vote
1 answer 3 views
3 views
Problem: Any ideas on what I need to do to fix this? please tell me who you are git
asked 6 days ago MUHAMMAD MUNEEB 82.5k points
0 votes
1 answer 3 views
3 views
Problem: I have a problem while connecting to github from my PC, using git. System Win 7. when I try to push or clone my repo, I receive fatal: unable to access '<repo githup link>' Received HTTP code 407 from proxy after CONNECT
asked Mar 30 ummesalma 24.5k points
0 votes
1 answer 2 views
2 views
Problem: I am new to this so can I get simple answers. i am upset as I am not getting solution. Please help me out.
asked 6 days ago Sana8989 8.9k points
0 votes
1 answer 19 views
19 views
Problem: I am new to python. Can anyone help me out? How to delete a list in python? Thanks!!
asked Mar 5 Samiur1 38.4k points
0 votes
1 answer 43 views
43 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, 2020 alecxe 7.5k points
0 votes
1 answer 76 views
76 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 2 views
2 views
Problem: I need someone&rsquo;s help to fix it .. Git remove file from commit after push
asked Apr 4 Ifra 24.4k points
0 votes
1 answer 2 views
2 views
Problem: As I mentioned in my previous query, I'm having difficulties with my learning; I've tried searching the web but haven't been able to find adequate information; could you assist me in continuing my project?
asked Mar 29 tuhin1 48.4k points
0 votes
1 answer 2 views
2 views
I used Google to try to find a solution on the web of the above question, But I got no useful hints. Can I get Pointer information about my problem with this?
asked Mar 29 padma1 10.6k points