• Register
0 votes
347 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 38 views
38 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 55 views
55 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 1 view
0 votes
1 answer 7 views
7 views
Problem: I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data folder in Finder->right-click, move to trash), cleaning the project(CMD+Shift+K or Product->Clean), updating carthage and dependencies, checked other answers on StackOverflow (mostly adjustments in Build Settings/Phases), and recloned the app from github, etc.
asked Dec 22, 2020 Mashhoodch 6.7k points
0 votes
1 answer 32 views
32 views
Problem: I am trying to migrate my project to swift 3 and am facing the following problem. I believe this was caused after starting the module update. I am using Xcode 8.2.1. ld: file not found: / Users / tomfox / Library / Developer ... tomfox / Library / Developer / Xcode / DerivedData / Flick_Quiz-ergbsdsnlpucndfmjqybgarjwaam / Build / Products / Debug-iphonesimulator / Flick Quiz.app/.gitkeep
asked Dec 5, 2020 sasha 6.4k points
0 votes
1 answer 29 views
29 views
I am getting this error suddenly while running my app through iPhone simulator: clang: error: linker command failed with exit code 1 (-v option to see invocation):  ld: duplicate the symbol _OBJC_CLASS _ $ _ Algebra5FirstViewController in ... ... .build/Debug-iphonesimulator/PSLE Algebra5.construire / Objets-normal / i386 / PSLE_Algebra5FirstViewController.o for the i386 architecture What is that?
asked Nov 17, 2020 sasha 6.4k points
0 votes
1 answer 12 views
12 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, 2020 SapperIt 1.2k points
0 votes
1 answer 185 views
185 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, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 79 views
79 views
Problem : All of a sudden I am unable to build my project. I started to get the following compiler error: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255 I got this error for a lot of my xib files. Any clues what is happening and what will be the Solution for it? Please Note : I am using Xcode 4.6 and iOS 6.1.
asked Nov 20, 2019 peterlaw 6.9k points