Problem to push changes to remote repository on GitHub
33 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Mohammad Ibrahim
on 19 Jul 2022
Edited: Mohammad Ibrahim
on 19 Jul 2022
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 Comments
See Also
Categories
Find more on Source Control Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!