API Management with GIT

左心房为你撑大大i 提交于 2019-12-24 07:57:55

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/38496012/api-management-with-git

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!