我刚刚尝试做 git checkout master 并收到此错误:
macoss-MacBook-Pro-10:Marketing owner12$ git checkout master
error: The following untracked working tree files would be overwritten by checkout:
Marketing.xcodeproj/project.xcworkspace/xcuserdata/owner12.xcuserdatad/UserInterfaceState.xcuserstate
Please move or remove them before you can switch branches.
Aborting
但我不确定如何处理这种情况。我不介意这个文件被 repo 中的内容覆盖。我在这里进行的正确方法是什么?
谢谢!