git之you can‘t overwrite the remote branch问题解决
生活随笔
收集整理的這篇文章主要介紹了
git之you can‘t overwrite the remote branch问题解决
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
? ? ? ? 今天使用smartGit提交代碼的時(shí)候出現(xiàn)這個錯誤,如圖,
? ? ? ? ? ? ? ? ? ? ? ?remote是遠(yuǎn)程的意思,branch是分支的意思,you can't overwrite the remote branch英文的意思是我的remote branch被移動位置了,應(yīng)該選中edit下面的prefrences下面的allow modify pushed commits問題就完美解決了。
?
總結(jié)
以上是生活随笔為你收集整理的git之you can‘t overwrite the remote branch问题解决的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Git的理解和使用
- 下一篇: git之Pushing to the r