嗨当尝试在分支之间切换时,我有一个错误:
error: The following untracked working tree files would be overwritten by checkout:
Project/.project
Please move or remove them before you can switch branches.
但是当我尝试使用
git rm --cached Project/.project
我收到一个错误:
fatal: pathspec 'Project/.project' did not match any files
请建议一轮工作,任何可能移动某些文件的方式是一些分支并增加了收益,请解释这两个错误。谢谢