Unable to login to github to clone a repository through MATLAB

8 vues (au cours des 30 derniers jours)
Adhiti Raman Thothathri
Adhiti Raman Thothathri le 14 Juil 2022
Commenté : Vandit le 1 Sep 2023
But the solution given did not work. When attempting to clone, I am asked for login details at one point. The dialog box shows up again and again after pressing enter but it does not log in or show an error message. I deleted MATLAB and reinstalled it to the latest version, but I'm still facing the same problem. I've followed all the tasks to setup github with matlab multiple times.
I tried using personal tokens too but I'm still getting the same error.
  1 commentaire
Vandit
Vandit le 1 Sep 2023
Hi,
You can refer to the below mentioned points to resolve the issue:
  • Ensure that the credential helper is correctly configured. You can check the credential helper settings by running the following command in the MATLAB Command Window:
[status, result] = system('git config --global credential.helper');
disp(result);
If the output is not 'manager-core', you can set it to the correct value using:
system('git config --global credential.helper manager-core');
  • Ensure that your Git configuration is set up correctly in MATLAB. You can use the 'git config --list' command in the MATLAB Command Window to check the Git configuration settings. Make sure the 'user.name' and 'user.email' are correctly set.
  • Disable any firewall or proxy settings temporarily.
  • Clear MATLAB's Git credentials cache.
If the issue persists, even after trying the above steps, it would be best to reach out to MathWorks support for further assistance.
Hope this helps.
Thankyou

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Source Control Integration dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by