鍍金池/ 問答/HTML/ clone微信的WeUi,提示沒權(quán)限?

clone微信的WeUi,提示沒權(quán)限?

執(zhí)行 git clone git@github.com:wepyjs/wepy-weui-demo.git

vagrant@homestead:~/code$ git clone git@github.com:wepyjs/wepy-weui-demo.git              
Cloning into 'wepy-weui-demo'...                                                          
The authenticity of host 'github.com (13.250.177.223)' can't be established.              
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.                
Are you sure you want to continue connecting (yes/no)? yes                                
Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.  
Permission denied (publickey).                                                            
fatal: Could not read from remote repository.                                             
                                                                                          
Please make sure you have the correct access rights                                       
and the repository exists.                                                                
vagrant@homestead:~/code$ git clone git@github.com:wepyjs/wepy-weui-demo.git              
Cloning into 'wepy-weui-demo'...                                                          
Permission denied (publickey).                                                            
fatal: Could not read from remote repository.                                             
                                                                                          
Please make sure you have the correct access rights                                       
and the repository exists.                                                                
vagrant@homestead:~/code$                                                                 
回答
編輯回答
選擇

這是因為你沒配置github的sshkey ,配置可以參考http://wiki.jikexueyuan.com/p...
如果不想配置,可以使用https協(xié)議,https://github.com/wepyjs/wep...

git clone https://github.com/wepyjs/wepy-weui-demo.git
2017年1月19日 19:22