fatal: ‘main’ 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.
fatal: ‘main‘ does not appear to be a git repository fatal: Could not read from remote repository.
今天使用git命令 上传本地分支,报了一个错:fatal: ‘main’ 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.直接上图:错误原因:原来是我刚才在本地clone了一个远程的项目.没有做关联解决方法:gi