摘要: 引文:http://lazynight.me/?p=2898第一步:创建Github新账户第二步:新建仓库第三部:填写名称,简介(可选),勾选Initialize this repository with a README选项,这是自动创建REAMDE.md文件,省的你再创建。第四步:安装Github shell程序,地址:http://windows.github.com/第五步:打开Git Shell,输入以下命令生成密钥来验证身份ssh-keygen -C 'your@email.address' -t rsa连续三个回车之后会在windows当前用户目录下生成.ssh文 阅读全文
posted @ 2013-09-23 21:32 Michael020 阅读(408) 评论(0) 推荐(0) 编辑
摘要: $ ssh -T git@github.comssh: connect to host github.com port 22: Connection timed out可能的问题是:在 SSH 默认端口 22 被屏蔽,可以使用 443 端口访问 github这里在 cygwin 环境中做演示:1. 在 /home/hallo/.ssh 目录中添加配置文件config。Host github.comUser xxxx@gmail.comPort 443Hostname ssh.github.comidentityfile ~/.ssh/id_rsa2. clone 仓库到本地。kysnail@k 阅读全文
posted @ 2013-09-23 21:31 Michael020 阅读(1851) 评论(1) 推荐(0) 编辑