SourceTree认为拉文件是未提交的更改 [英] SourceTree considers pulled files as uncommitted changes
问题描述
在某些未知的情况下,当我使用SourceTree时,它会将所有拉出的文件视为未提交的更改,并且除非重新提交或放弃这些更改,否则将不允许再推/推。
In some unknown cases when I pull using SourceTree, it consider all pulled files as uncommitted changes and won't allow to pull/push any more unless re-commit or discard those changes.
如果我放弃未提交的文件,它将放弃我的队友应用的所有更改。
If I discard uncommitted files, it will discard all the changes have been applied by my team-mate.
这有什么问题?有没有一个已知的bug或者其他什么?
What's wrong with that? Is there a known bug or whatever?
推荐答案
不太确定这是否是问题,但听起来很相似。
当你拉动时,SourceTree弹出一个框。在这个框中有一个选择框可以读取。
Not too sure if this is the issue but it sounds similar. When you pull, SourceTree pops up with a box. In this box there is a select box that reads.
立即提交合并更改
如果这不会被检查拉将会作为一个未经承诺的变化进来。这听起来像是在发生。通过删除这些文件,您将创建一个删除提交。
If this isn't checked the pull will can come in as an uncommitted change. It sounds like this is happening. By removing these files you are creating a delete commit.
这篇关于SourceTree认为拉文件是未提交的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!