老師 GIT MV命令 重命名或者移動(dòng)文件的時(shí)候報(bào)錯(cuò)了。報(bào)錯(cuò)信息如下:
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
復(fù)制最后兩條命令出錯(cuò)
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
老師講的太好了,平常也就是命令,暫時(shí)還不需要深入了解,很符合現(xiàn)階段的使用,全是干貨,謝謝老師
git rm 之后;還要 add一下不是多余? 直接commit不就行了
2021-04-11
瞎說(shuō),commit 是提交到你本次倉(cāng)庫(kù),push才是到遠(yuǎn)程倉(cāng)庫(kù)
2021-04-11
老師,配置用戶名和郵箱的命令可以在2-4上傳代碼的時(shí)候提一下嗎 我是新手,跟著做的,敲上傳到github命令的時(shí)候,提示讓我配置啥,當(dāng)時(shí)不太懂,上百度才搜到答案的
2021-04-02
git commit 命令將暫存區(qū)內(nèi)容添加到本地倉(cāng)庫(kù)中。而不是遠(yuǎn)程倉(cāng)庫(kù)!
2021-03-25