修复git命令报错

来自YTYZX有图有真相的百科
117.39.232.53讨论2020年10月11日 (日) 12:55的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索
1.报错信息:fatal: remote origin already exists.
 
  修复命令:git remote rm origin

2. Error : git push origin master

          error: src refspec master does not match any.
          error: failed to push some refs to 'https://github.com/imwalking/pythonlesson'
 root:    No README.md
          git pull --rebase origin master
          git push origin master