我正在对 Unity3D 存储库进行 git 平分,每次打开 Unity3D 编辑器以检查当前版本的好坏时,Unity3D 都会弄脏一些文件,迫使我在继续平分之前进行硬重置。
这是因为如果我不重置,我会得到:
error: Your local changes to the following files would be overwritten by checkout:
Platform/Assembly-CSharp.csproj
Platform/ProjectSettings/ProjectSettings.asset
Please commit your changes or stash them before you switch branches.
Aborting
有没有办法告诉 git bisect--force
在其结帐调用中使用或避免每次都必须重置?