sourceTree 切換分支時報錯:The following untracked working tree files would be overwritten ...

sourceTree 切換分支時報錯:The following untracked working tree files would be overwritten .....    解決方法,執行命令:git clean -d -fxgit

表示刪除 一些 沒有 git add 的 文件;it

    git clean 參數 file

    -n 顯示將要刪除的文件和目錄;方法

    -x -----刪除忽略文件已經對git來講不識別的文件文件

    -d -----刪除未被添加到git的路徑中的文件參數

    -f -----強制運行分支

相關文章
相關標籤/搜索