How do I checkout a git branch which tracks my remote in MATLAB R2017a?

8 visualizaciones (últimos 30 días)
I have cloned a remote git repository and in my local copy I now want to checkout a specific branch which already exists on the remote and I want my locally copy to track this remote. With command line git, if I wanted to checkout branch foo, I would simply use:
git checkout foo
And this would then automatically track the remote without further configuration needed.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 6 de Sept. de 2018
To check-out a specific branch in MATLAB
1. Go to "Source Control" -> "Branches"
2. Under "Branch and Tag Creation", manually enter:
Source: origin/foo
Name: foo
Hit "Create".
3. Select the "foo" branch in the Branch Browser and click "Switch".

Más respuestas (0)

Categorías

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

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by