GitHub Desktop error

初次安裝Mac GitHub Desktop將沒法使用 publish,報故「Please check your internet connection ……」。git

該問題多是因爲GitHub的SSH配置不當所致。github

解決方法:shell

1)termianl 中執行:ssh

ssh -T git@github.comide

2)通常可見以下回告:網站

The authenticity of host 'github.com (192.30.252.1)' can't be established.RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.Are you sure you want to continue connecting (yes/no)?code

3)敲入yes ,回車。見以下回告即表徵SSH配置完成。ip

Hi username! You've successfully authenticated, but GitHub does notprovide shell access.ci

4)GitHub只是提供了code備份平臺,看源程序還需在folder中。it

path:/Users/liaosin/Documents/GitHub

5)我的code步驟:

— 在GitHub Desktop生成newRepository(注:不能是private)

— 將code路徑更改至 /Users/liaosin/Documents/GitHub/new Repository

— coding

— 在GitHub Desktop/changes中, summary+description,而後 Commit to master

— 在GitHub Desktop中, Push origin 。(即上傳至github網站)

相關文章
相關標籤/搜索