相关疑难解决方法(0)

如何忽略关于我的本地更改的"git pull"错误将被合并覆盖?

如何在Git pull上忽略以下错误消息?

合并将覆盖对以下文件的本地更改

如果我覆盖它们怎么办?

我尝试了类似的东西git pull -f,但没有任何作用.

要清楚,我只想覆盖特定的变化,而不是一切.

git git-stash git-pull

503
推荐指数
21
解决办法
66万
查看次数

Git:结帐覆盖的文件

我想结帐一个分支,我收到了这条消息

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)

但我希望这些文件被覆盖

git atlassian-sourcetree

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

标签 统计

git ×2

atlassian-sourcetree ×1

git-pull ×1

git-stash ×1