您如何将一个AWS CodeCommit存储库分叉到另一个CodeCommit存储库? [英] How would you fork an AWS CodeCommit repo to another CodeCommit repo?

查看:80
本文介绍了您如何将一个AWS CodeCommit存储库分叉到另一个CodeCommit存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在github中,有一个fork按钮,用于将一个仓库回存到您控制的新仓库中.

In github there is a fork button to fork a repo into a new repo you control.

根据 git叉实际上是git克隆吗?github分支是服务器端的克隆.

According to are git forks actually git clones? a github fork is a clone on the server side.

如果您阅读git-scm 文档具体说来单击Github中的fork按钮.

If you read the git-scm documentation it specifically says to click the fork button in Github.

我假设因为AWS CodeCommit中没有分叉按钮,所以没有类似的功能.那么,有没有办法使用本地git cli来做到这一点?

I assume because there is no fork button in AWS CodeCommit there is not similar functionality. So, is there a way to do this with the native git cli?

推荐答案

我认为AWS CodeCommit中没有任何可供分叉的选项.你能做的就是

I don't think there is any option in AWS CodeCommit to fork. What you can do is

  • 克隆存储库.
  • 在AWS CodeCommit中创建新的存储库.
  • 将代码推送到新的存储库.

检查此链接.

这篇关于您如何将一个AWS CodeCommit存储库分叉到另一个CodeCommit存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆