1.生成ssh key 后操作提示Permission denied (publickey)
输入:ssh-add ~/.ssh/keys 后,提示输入密码,解决
2.添加远程仓库时提示:remote origin already exists.
先删除远程仓库,再从新添加:1.remote rm origin, 2.remote add origin <路径>
3. 下一个步骤git push -u origin master 的时候提示:failed to push some refs to 'git@github.com...
由于github上新建仓库时有生成readme文件,所有要先合并代码,再push
1.git pull --rebase origin master,2.git push -u origin master