Unable to login to github to clone a repository through MATLAB
Mostra commenti meno recenti
Similar question was asked here. https://www.mathworks.com/matlabcentral/answers/1586829-unable-to-login-into-github-the-username-and-password-dialog-box-just-keeps-on-popping-again-and-ag
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 Commento
Vandit
il 1 Set 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
Risposte (0)
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!