Borrar filtros
Borrar filtros

Problem to push changes to remote repository on GitHub

42 visualizaciones (últimos 30 días)
Noelia Martinez Molina
Noelia Martinez Molina el 7 de Mzo. de 2022
Editada: Mohammad Ibrahim el 19 de Jul. de 2022
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

Respuestas (1)

Mohammad Ibrahim
Mohammad Ibrahim el 19 de Jul. de 2022
Editada: Mohammad Ibrahim el 19 de Jul. de 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.

Categorías

Más información sobre Source Control Integration en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by