1

We are currently in the process of moving all of our repositories over to VSTS from Github which has been great and easy so far but are now running into the small problem of linking our old local repositories to the new ones in VSTS.

So technically they should be the exact same files except for the local ones that we weren't committing up to Github in the first place (Which we'd like to not have to manually copy back and forth). Is there a way to link these local repositories to the new ones in VSTS?

0

1 Answer 1

1

Just treat GitHub as a source repo here

git clone --mirror <repo on HitHub> git push --mirror <remote on VSTS> 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.