如何在Bitbucket存储库中使用Git扩展? [英] How do I use Git Extensions with a Bitbucket repository?

查看:92
本文介绍了如何在Bitbucket存储库中使用Git扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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.

  1. 运行GitExtensions \ PuTTY \ puttygen.exe
  2. 点击生成
  3. 点击保存公共密钥(作为文本文件)
  4. 点击保存私钥(作为ppk文件)
  5. 运行GitExtensions \ PuTTY \ pageant.exe C:\ path \ to \ ppk-file.ppk
  6. 登录到Bitbucket
  7. 进入帐户设置(设置安全性→SSH密钥*)
  8. 将您的公共密钥粘贴到SSH密钥文本输入中,因为(空格很重要,请勿在公共密钥周围包括方括号):

  1. Run GitExtensions\PuTTY\puttygen.exe
  2. Click Generate
  3. Click Save public key (as a text file)
  4. Click Save private key (as a ppk file)
  5. Run GitExtensions\PuTTY\pageant.exe C:\path\to\ppk-file.ppk
  6. Log into Bitbucket
  7. Go into Account settings (SettingsSecurity → SSH keys*)
  8. 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屋!

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