我也是返回这个错误: git mv demo1.html home
fatal: 坏的源,源=demo1.html,目标=home
fatal: 坏的源,源=demo1.html,目标=home
2021-06-08
讲的都是错的吧,git add才是暂存区,git commit 是本地仓库,git push 才是提交到远程词库吧。不要误人子弟。真可怕
2021-06-03
老师 GIT MV命令 重命名或者移动文件的时候报错了。报错信息如下:
git mv TestGit.java test
fatal: bad source, source=TestGit.java, destination=test
git mv TestGit.java test
fatal: bad source, source=TestGit.java, destination=test
2021-05-21
复制最后两条命令出错
error: remote origin already exists.
PS C:\Users\Administrator\Desktop\text-demo> git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com/cuicui90/text-demo.git'
error: remote origin already exists.
PS C:\Users\Administrator\Desktop\text-demo> git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com/cuicui90/text-demo.git'
2021-05-12