Change git repository path in matlab?

20 visualizaciones (últimos 30 días)
Chris Easthope
Chris Easthope el 7 de Mzo. de 2018
Comentada: Dmitry Boltyanskiy el 17 de Jun. de 2019
Hi, One of my git repositories has changed remote location. I would like to update the remote address in the Source Control menu (details: repository path) so that I can push some of my local changes to the remote branch. So far, I have found no way to do this other than to create a new sandbox (which seems like a very unelegant workaround). Is there any way to change the repository path without having to recreate the sandbox?
Thanks,
Chris
PS Version is Matlab 2017b

Respuesta aceptada

Tim Hosey
Tim Hosey el 7 de Mzo. de 2018
Hi Chris,
If you right click in the current folder browser and select the context menu "Source Control->Remote" a UI will launch that will allow you to change the git remote.
Tim
  3 comentarios
Ricardo Borges
Ricardo Borges el 12 de Oct. de 2018
Hi! From which version is this "Source Control->Remote" option available? I am using R2016b and cannot see this option.
Dmitry Boltyanskiy
Dmitry Boltyanskiy el 17 de Jun. de 2019
+1. Thanks Tim!!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by