[英]Sync GitHub Repositories into Azure DevOps
I have 2 Repositories in my GitHub Organization Account: Say Repo1
and Repo2
.我的 GitHub 组织帐户中有 2 个存储库:说Repo1
和Repo2
。 In order to bring these into Azure DevOps
, I followed the below steps:为了将这些带入Azure DevOps
,我遵循了以下步骤:
Azure DevOps
and Created a new Project.我登录了Azure DevOps
并创建了一个新项目。Project Settings
, Created a new GitHub Connection
.在Project Settings
下,创建了一个新的GitHub Connection
。Repos
, Imported Git Repository
using GitHub Clone URL
and PAT Authentication
.在Repos
下,使用GitHub Clone URL
和PAT Authentication
导入Git Repository
。 With this, I'm able to see my GitHub repositories
cloned into Azure DevOps GIT
.有了这个,我能够看到我的GitHub repositories
库克隆到Azure DevOps GIT
中。 But there is no sync between them.但是它们之间没有同步。
If I create a new Branch of Repo1
in Azure DevOps GIT
then it's not reflecting in GitHub
.如果我在Azure DevOps GIT
中创建Repo1
的新分支,那么它不会反映在GitHub
中。 Similary, If I create a new Branch of Repo1
in GitHub
then it's not reflecting in Azure DevOps GIT
.类似地,如果我在GitHub
中创建Repo1
的新分支,那么它不会反映在Azure DevOps GIT
中。
Is it the right way of Importing from GitHub
to Azure DevOps GIT
?从GitHub
导入到Azure DevOps GIT
是正确的方法吗? Am I missing something here?我在这里错过了什么吗? Please guide me.请指导我。
Is it the right way of Importing from GitHub to Azure DevOps GIT?从 GitHub 导入到 Azure DevOps GIT 是正确的方法吗?
Yes, this is the correct way.是的,这是正确的方法。 Importing only creates a copy.导入只会创建一个副本。 It will not keep the two in sync automatically.它不会自动使两者保持同步。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.