Git报错“fatal: ‘origin’ does not appear to be a git repository

报错“fatal: ‘origin’ does not appear to be a git repository
fatal: Could not read from remote repository.

原因:没有关注远程仓库为origin


解决:git remote add origin  https://gitee.com/空间名/项目目录.git

posted @ 2022-01-13 16:34  专注网站建设和推广  阅读(1038)  评论(0编辑  收藏  举报