How do I clone a repository from Bitbucket via ssh
instead of http
? I already have git
installed in my local machine (Windows).
ssh-keygen -t rsa -C "your-email-address"
View profile
-> Manage account
-> SSH keys
-> Add key
cat ~/.ssh/id_rsa.pub
Clone
. Now you can see the SSH url for your repository. Copy it.git clone <ssh-url>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.