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일

3 개 추천

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

Chris Easthope
Chris Easthope 2018년 3월 7일
Thanks Tim! Can't believe I didn't see that - how embarrassing >.<
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.
Dmitry Boltyanskiy
Dmitry Boltyanskiy 2019년 6월 17일
+1. Thanks Tim!!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Source Control에 대해 자세히 알아보기

질문:

2018년 3월 7일

댓글:

2019년 6월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by