git码云操作

1.分支推送过程中突然出现 将分支推送到远程存储库时遇到错误: Git failed with a fatal error.'master' does not appear to be a git repository Could not read from remote repository.

解决方案:删除远程 再建远程。

git remote rm origin

git remote add origin https://gitee.com/xxx/xxx.git

https后面的地址换成自己仓库地址就可以。

原文地址:https://www.cnblogs.com/lecone/p/13677303.html