cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Git: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

Type1Tony
Newcomer
0 Kudos
3,842

When trying to commit my Fiori project to Git from SAP Business Application Studio, I'm getting the following error:

"Git: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"

Any idea how I get round this? 

 

View Entire Topic
efegur
Discoverer
0 Kudos

Edit: I had the same issue. 

The error you have seen is a warning, and the actual error is written in the Git log.

In my case, it was an SSL connection issue. The following steps worked for me:
In BAS, execute the command cd ~/.ssh && ssh-keygen  
use the command cat id_rsa.pub to retrieve your SSH key
Login to your git webpage, go to your profile settings to upload the SSH key.
Test your connection using the command ssh -T git@github.com.
If the connection is successful, try cloning or pushing the repository again.

Please reward it if it is helpful.
Efe