Kızkardeşimi yüklenen ~/.ssh/id_rsa.pubiçin Bitbucket en SSH tuşları olarak açıkladı , ancak Git hala her operasyonda (örneğin benim parola soruyor git pull). Bir şey mi kaçırdım?
Özel bir havuz (başka bir kişinin özel havuzunun çatalı) ve ben böyle klonladım:
git clone git@bitbucket.org:Nicolas_Raoul/therepo.git
İşte benim yerel .git/config:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://Nicolas_Raoul@bitbucket.org/Nicolas_Raoul/therepo.git
[branch "master"]
remote = origin
merge = refs/heads/master
Aynı ortak anahtarla aynı ortamda, Github'daki Git iyi çalışır.
.ssholduğunu rwx------, .ssh/id_rsaolduğunu -rw-------, .ssh/id_rsa.pubolduğunu-rw-r--r--
.git/configilegit@bitbucket.org:Nicolas_Raoul/therepo.gitve şimdi çalışıyor!