“修复git命令报错”的版本间的差异

来自YTYZX有图有真相的百科
跳转至: 导航搜索
 
第6行: 第6行:
 
           error: src refspec master does not match any.
 
           error: src refspec master does not match any.
 
           error: failed to push some refs to 'https://github.com/imwalking/pythonlesson'
 
           error: failed to push some refs to 'https://github.com/imwalking/pythonlesson'
 
+
  root:    No README.md
 
           git pull --rebase origin master
 
           git pull --rebase origin master
 
           git push origin master
 
           git push origin master

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