Accessing github when having 2 factor authentication enabled

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 日

0 投票

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/

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

質問済み:

2020 年 8 月 13 日

編集済み:

2021 年 11 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by