1

I have an API management instance running. I know API management has its own GIT repository.

I can successfully clone, change and push changes up to my API management GIT repository.

My issue is, I have my own VSTS Git Repository (source control for all my other code) that I need to keep using. The fact that I now have 2 GIT repositories (one in VSTS and one in API management) is confusing.

Can someone let me know what the process for managing these two repositories is? Or is there a way to use only mine and not use API management's GIT repository?

RuSs
  • 1,725
  • 1
  • 29
  • 47

1 Answers1

3

If you would like to merge API management into VSTG:

  • cd path/to/VSTG-repo
  • git remote add API-management path/to/VSTG-repo
  • git fetch API-management
  • git merge API-management/master # or whichever branch you want to merge
  • git remote remove API-management
Shravan40
  • 8,922
  • 6
  • 28
  • 48