[英]How to clone Bitbucket git into cPanel Git™ Version Control
I have git into my Bitbucket account and I want clone those git into my cPanel Git™ Version Control.我在我的 Bitbucket 帐户中有 git,我想将这些 git 克隆到我的 cPanel Git™ 版本控制中。 How to do that?怎么做?
I was able pull git using cPanel terminal.我能够使用 cPanel 终端拉动 git。 but I want to make clone using cPanel Git™ Version Control.但我想使用 cPanel Git™ 版本控制进行克隆。
We want to make bitbucket git clone using cPanel Git™ Version Control so that we can create more branches from cPanel git and do version control for cPanel copy.我们想使用 cPanel Git™ 版本控制克隆 bitbucket git,以便我们可以从 cPanel git 创建更多分支并对 cPanel 副本进行版本控制。 I tried to clone bitbucket git using https, git and ssh url into cPanel Git™ Version Control but then I am getting following error. I tried to clone bitbucket git using https, git and ssh url into cPanel Git™ Version Control but then I am getting following error.
From BitBucket从BitBucket
git clone https://<AccountName>@bitbucket.org/<RepositoryName>/<BranchName>.git
Into cPanel Git™ Version Control But I am getting following error.进入cPanel Git™ 版本控制但我收到以下错误。
https://<AccountName>@bitbucket.org/<RepositoryName>/<BranchName>.git
Then i have tested with SSH and Git path from bitbucket然后我用 SSH 和 Git 路径从 bitbucket 测试
For SSH path I am getting following error.对于 SSH 路径,我收到以下错误。
ssh://git@bitbucket.org/<workspace_ID>/<repo_name>.git
Fog git url which is copied from Clone button in bitbucket, I am getting following error.雾 git url 是从 bitbucket 中的克隆按钮复制的,我收到以下错误。
git@bitbucket.org:<workspace_ID>/<repo_name>.git
Thank You.谢谢你。
repository settings
on Your Bitbucket Repository Console Go 到 Bitbucket 存储库控制台上的repository settings
General
menu, click Access keys
在General
菜单下,单击Access keys
Add key
button单击Add key
按钮id_rsa.pub
file from cpanel file manager
that you have created从您创建的cpanel file manager
中打开id_rsa.pub
文件Key
form input, and click Add SSH Key
button将其内容复制并粘贴到Key
form input 下的 Bitbucket Access keys 中,然后单击Add SSH Key
按钮known_hosts
file in cpanel file manager
.在 CPanel Git™ 版本控制上,添加和克隆存储库,如果有任何错误消息,它将在cpanel file manager
中创建一个known_hosts
文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.