linux git 报错提示 fatal: 'origin' does not appear to be a git repository 解决办法

输入:
git pull origin master
git报错提示
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
 
在网上找到的解决办法:重新输入一次:
git remote add origin git@github.com:yourusername/test.git 
就可以解决了
 
posted @ 2018-04-18 13:02  一个人的孤独自白  阅读(7421)  评论(0编辑  收藏  举报