git 错误:error: The following untracked working tree files would be overwritten by checkout:

问题:
error: The following untracked working tree files would be overwritten by checkout:
解决:
方法1:
git 2.11 and newer
git clean -d -fx .
older git
git clean -d -fx “”
方法2:
git checkout -f another-branch

你可能感兴趣的:(零星)