Accessing github when having 2 factor authentication enabled

조회 수: 10 (최근 30일)
JeanN
JeanN 2020년 8월 13일
편집: Sam Warner 2021년 11월 3일
Hi all,
I am having trouble when trying to push a commit from Matlab 2019b, it asks me for username and password (which I provide), but then it does not ask for the code that I receive by sms on my phone..As it is, I can't push a commit from Matlab unless I turn off two factor authentication, which I really would not want to do.
Is there a way to work around this issue?
Thank you

답변 (1개)

Sam Warner
Sam Warner 2021년 11월 3일
편집: Sam Warner 2021년 11월 3일
This has been superceded by https://github.com/microsoft/Git-Credential-Manager-Core. Really easy to use. After installing the first Git transaction requests the authentication information, and then stores for the subsequent transactions.
https://devblogs.microsoft.com/devops/git-credential-manager-for-mac-and-linux/

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by