如何在Git pull上忽略以下错误消息?
合并将覆盖对以下文件的本地更改
如果我想覆盖它们怎么办?
我尝试了类似的东西git pull -f,但没有任何作用.
要清楚,我只想覆盖特定的变化,而不是一切.
我想结帐一个分支,我收到了这条消息
error: Your local changes to the following files would be overwritten by checkout:
src/main/webapp/data/GuerrillaLabels.json
Please, commit your changes or stash them before you can switch branches.
Aborting
Run Code Online (Sandbox Code Playgroud)
但我希望这些文件被覆盖