Accessing github when having 2 factor authentication enabled

5 ビュー (過去 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 Center および File ExchangeVariables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by