Change git repository path in matlab?

17 次查看(过去 30 天)
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

采纳的回答

Tim Hosey
Tim Hosey 2018-3-7
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 个评论
Ricardo Borges
Ricardo Borges 2018-10-12
Hi! From which version is this "Source Control->Remote" option available? I am using R2016b and cannot see this option.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Git in MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by