如何在Bitbucket存储库中使用Git扩展? [英] How do I use Git Extensions with a Bitbucket repository?
问题描述
我在github.com和bitbucket.org上都有存储库,我对所有存储库功能都使用Git扩展非常熟悉...但是当我开始使用bitbucket.org存储库时,我必须为此使用TortoiseHg SVN. .所以我想问问,有什么方法可以对Bitbucket存储库使用Git扩展吗?
I have repository on both github.com and bitbucket.org, and I am very familiar using Git Extensions for all repository functions... But when I started using bitbucket.org repositories I have to use TortoiseHg SVN for it ... so I want to ask that is there a way I can use Git Extensions for Bitbucket repositories?
推荐答案
我尚未对其进行全面测试,但是这些步骤使我可以在Git Extensions中克隆Bitbucket存储库.
I haven't fully tested it, but these steps allowed me to clone a Bitbucket repository in Git Extensions.
您可以使用PuTTY生成公共/私有SSH密钥,然后将该密钥添加到Bitbucket.
You can use PuTTY to generate a public/private SSH key, then add that key to Bitbucket.
- 运行GitExtensions \ PuTTY \ puttygen.exe
- 点击生成
- 点击保存公共密钥(作为文本文件)
- 点击保存私钥(作为ppk文件)
- 运行GitExtensions \ PuTTY \ pageant.exe C:\ path \ to \ ppk-file.ppk
- 登录到Bitbucket
- 进入帐户设置(设置→安全性→SSH密钥*)
-
将您的公共密钥粘贴到SSH密钥文本输入中,因为(空格很重要,请勿在公共密钥周围包括方括号):
- Run GitExtensions\PuTTY\puttygen.exe
- Click Generate
- Click Save public key (as a text file)
- Click Save private key (as a ppk file)
- Run GitExtensions\PuTTY\pageant.exe C:\path\to\ppk-file.ppk
- Log into Bitbucket
- Go into Account settings (Settings → Security → SSH keys*)
Paste your public key into the SSH keys text input as (spaces are important, do not include square brackets around the public key):
ssh-rsa [AA-YOUR-PUBLIC-KEY-ALL-ONE-LINE-SPACES-REMOVED-==] youremail@domain.com
这篇关于如何在Bitbucket存储库中使用Git扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!