有关SSH

补充:Windows下Git Bash下git的使用,详情请看https://blog.csdn.net/chenxueshanBlog/article/details/78915338

1)下面来看操作是出现的第一个错误:

$ git remote add origin git@github.com:Jan864/newrep.git
fatal: remote origin already exists.

出现这一错误,只需一个命令就可以解决:

git remote rm origin

github常见错误可以看:https://blog.csdn.net/dengjianqiang2011/article/details/9260435

2)操作时出现的第二个错误:

$ git push -u origin master
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

posted on 2018-09-20 23:16  云点西西  阅读(82)  评论(0编辑  收藏  举报

导航