cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Cannot get Git configuration settings

Former Member
0 Kudos

In SAP Web IDE, I am seeing an error dialog with the following text:


Cannot get Git configuration settings
Troubleshooting Guide

No preferences found for path /user/git/config

The dialog pops up when I navigate to Preferences (gear icon on left) > Git Settings. Additionally, it pops up when I attempt to commit my code.

I found no guidance for this error message in the Troubleshooting Guide or in any web search. This is my first time using SAP Web IDE's Git integration i.e. it was not working previously.


Some additional details:

The project for which I am attempting a commit has a remote URL set, pointing to an empty repo on Gitlab. I already gave my credentials and successfully fetched from the repo, getting the message "No new updates - everything is up to date."


Does anyone know how to resolve this error message, or what it might be related to?

Accepted Solutions (1)

Accepted Solutions (1)

former_member594740
Participant

Hello,

I solved my problem this instruction.

1. You can will click right mouse buttom on your project

2. Select "Project Settings"

3. "Project Settings/Git Repository Configuration"

4. Check parametrs user.email and user.name. If their were not - to adding.

Regards, Fedor.
git-repository-configuration.png

Former Member
0 Kudos

Perfect! Thank you!

Answers (3)

Answers (3)

0 Kudos

Yes, it worked. Thanks.

0 Kudos

Hi purple_marker ,

Can you share with us the git url so we'll try reproduce the issue? (In case git server and repository are public)

On which landscape you are working? (what's your web-ide url?)

Regards,

Tomer

Former Member
0 Kudos

Hello,


My web-ide url is : https://webide-(account-number-starting-with-p-and-ending-with-trial).dispatcher.hanatrial.ondemand....


The git url is private, as the account is linked to my corporate email. If there are less public options for sharing it with an SAP employee, that would be best.


Thank you!

Former Member
0 Kudos

Hello experts,
Any update on this issue?

Thank you.

michal_keidar
Active Contributor
0 Kudos

rima.rudnik-sirich , tomer.epstein - can you please take a look?

Thanks,
Michal.