How do I use Git Extensions with a Bitbucket repository?

后端 未结 2 1454
长情又很酷
长情又很酷 2020-12-22 20:34

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 re

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-22 20:35

    I found that most of this worked for me with just a few small changes.

    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. Didnt have to run this step --Run GitExtensions\PuTTY\pageant.exe C:\path\to\ppk-file.ppk--
    6. Log into bitbucket
    7. Go into Account settings
    8. Paste your public key into the SSH keys text input as (spaces are important but with no email address on the end): ssh-rsa [AA-YOUR-PUBLIC-KEY-ALL-ONE-LINE-SPACES-REMOVED-==]
    9. Click Add key
    10. In Git Extensions, click Clone repository
    11. Use the SSH repository link on bitbucket as the Repository to clone ( i.e. git@bitbucket.org:yourname/repo.git)
    12. Click Load SSH key
    13. Browse to and load the ppk file
    14. Click Clone

    Also i found that i was having a problem saying that the machine i was looking for might not be the correct one. I found this very helpful and if you are having problems might be useful Using the SSH protocol with Bitbucket and very quickly helped me through that.

    I hope this helps

提交回复
热议问题