小编AnL*_*Log的帖子

让 Git Bisect 执行强制签出或以其他方式覆盖本地更改

我正在用 git 将 Unity3D 存储库一分为二,每次打开 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
Run Code Online (Sandbox Code Playgroud)

有什么方法可以告诉 git bisect--force在其结账调用中使用,或者避免每次都重置?

git git-bisect

8
推荐指数
1
解决办法
690
查看次数

标签 统计

git ×1

git-bisect ×1