GitHub Desktop error

初次安装Mac GitHub Desktop将无法使用 publish,报故“Please check your internet connection ……”。

该问题可能是由于GitHub的SSH配置不当所致。

解决方法:

1)termianl 中执行:

ssh -T [email protected]

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)?

3)敲入yes ,回车。见如下回告即表征SSH配置完成。

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

4)GitHub只是提供了code备份平台,看源程序还需在folder中。

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网站)

猜你喜欢

转载自www.cnblogs.com/liaoxinwaiting/p/9108845.html