Git command line client has exited with code 128

0
Hi Team,   I'm facing issue while downloading the branch in Mendix 10.18.4 version from version control, can any one help me to resolve this issue.  
asked
7 answers
2

Hi Ajitha,

Try downloading the project from the Developer Portal by following these steps:

  1. Log in to your Mendix account.

  2. Go to the Apps section.

  3. Click on your app.

  4. Click the Edit in Studio Pro button.

  5. This will initiate the downloading process.

  6. Select the correct branch line and download it.

answered
4

Follow steps below to resolve issue (It worked for me). 

1. Check git --version

2. update git version if required

git update-git-for-windows

3. check if you are able to connect to git repository

git ls-remote <remote_repo_url>

4. if you get certificate error, set Windows Certificate Store as below

$ git config --global http.sslBackend schannel

5. If no error received in Step 3 but still getting "Git command line client has exited with code 128' error

Go to Control panel - User accounts - Credential Manager - Manage Windows Credentials - delete credentials for git

Follow step 4 to register certificate and retry

answered
1

Hi, you can go to log directory to view the log files for better diagnostic. If your network sits behinds a proxy, it might also cause this issue.

image.png

answered
1

This works for me.

  1. Go to Studio Pro with any project.
  2. Go to menu > Version Control > Download from Version Control Server > select your repoimage.png

 

answered
1

Hello Ajitha,

 

Just check whether your Git version control settings (Edit → Preferences → Version Control → Git) have the correct Name and Email.

In some cases, random numbers appear before the email address this can cause authentication issues. You can fix it by either correcting the email address or remove old one and add a new user with the correct name and email. Also, make sure to uncheck “Enable current Windows user authentication / Windows login” option. After that, version control should work properly.image.png

answered
0

Hi Ajitha Deborah David,

Any update on this? Were you able to resolve it?

answered
0

I'm having the same problem with version 10.21.1. Has anyone managed to fix it? Any help would be greatly appreciated!

answered