필터 지우기
필터 지우기

Unable to login to github to clone a repository through MATLAB

조회 수: 17 (최근 30일)
Adhiti Raman Thothathri
Adhiti Raman Thothathri 2022년 7월 14일
댓글: Vandit 2023년 9월 1일
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
Vandit
Vandit 2023년 9월 1일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Source Control Integration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by