在 Sourcetree/Git 中,其他人提交的更改出现在我的 'uncommitted changes' 中
In Sourcetree/Git other peoples committed changes appear in my 'uncommitted changes'
我使用 Sourcetree 在我们的 Git 分支上工作。有时在 Sourcetree 中,我看到其他人提交了对出现在我的 'uncommitted changes' 部分中的文件的更改。然后我需要 discard/remove 其他人的所有这些更改,然后才能进行 git 拉取。为什么会这样?
听起来你的回答与有关
在这种情况下,当您拉动时,SourceTree 会弹出一个框。在此框中有一个 select 框,上面写着。
Commit merged changes immediately
我猜这没有被勾选,所以当你拉他们的改变时显示为未提交。
我使用 Sourcetree 在我们的 Git 分支上工作。有时在 Sourcetree 中,我看到其他人提交了对出现在我的 'uncommitted changes' 部分中的文件的更改。然后我需要 discard/remove 其他人的所有这些更改,然后才能进行 git 拉取。为什么会这样?
听起来你的回答与
Commit merged changes immediately
我猜这没有被勾选,所以当你拉他们的改变时显示为未提交。