Borrar filtros
Borrar filtros

Unable to login to github to clone a repository through MATLAB

14 visualizaciones (últimos 30 días)
Adhiti Raman Thothathri
Adhiti Raman Thothathri el 14 de Jul. de 2022
Comentada: Vandit el 1 de Sept. de 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 comentario
Vandit
Vandit el 1 de Sept. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Source Control Integration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by