Git提示Please move or remove them before you switch branches.
生活随笔
收集整理的這篇文章主要介紹了
Git提示Please move or remove them before you switch branches.
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1 問題
git checkout V1提示錯誤如下
error: The following untracked working tree files would be overwritten by checkout:flutter_module/pubspec.lock Please move or remove them before you switch branches. Aborting?
?
?
?
?
?
?
2 解決辦法
git clean -df ../flutter_module/pubspec.lock然后再
git checkout V1?
總結
以上是生活随笔為你收集整理的Git提示Please move or remove them before you switch branches.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Android之解决TabLayout里
- 下一篇: Android之解决多语言适配部分Tex