フィルターのクリア

Problem to push changes to remote repository on GitHub

42 ビュー (過去 30 日間)
Noelia Martinez Molina
Noelia Martinez Molina 2022 年 3 月 7 日
編集済み: Mohammad Ibrahim 2022 年 7 月 19 日
Dear Matlab community,
I'm a newcomer to source control using Git integration in Matlab R2021a. I was able to clone my remote repository locally and to commit changes to this local repository within the Matlab interface. However, I have an issue to authenticate my GitHub credentials in order to push those commits to the remote repository. In Matlab, I right-click to see the Source Control, select the Push button and then type in my Github username and password but I got an incorrect username/password message and I know these are correct for sure. I don't find this issue if I push directly the commits from the Git desktop application to the remote repository.
I would appreciate any help to be able to push the commits directly from Matlab.
Thank you in advance for your time.
Best,
Noelia

回答 (1 件)

Mohammad Ibrahim
Mohammad Ibrahim 2022 年 7 月 19 日
編集済み: Mohammad Ibrahim 2022 年 7 月 19 日
Hi Noelia,
I have also faced similar type of problem. For resolving this, I have generated a Personal Access Token on GitHub following below link and use this access token instead of my github password when I pushed the changes. Hope that it will help you.

カテゴリ

Help Center および File ExchangeSource Control Integration についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by