Problem to push changes to remote repository on GitHub
33 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Source Control Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!