git切换分支的时候报:The following untracked working tree files would be overwritten by checkout
解决方法:
1、
git rm –cached
2、
git clean -d -fx “”
-x means ignored files are also removed as well as files unknown to git.
-d means remove untracked directories in addition to untracked files.
-f is required to force it to run.