This is something that sometimes affects some of our developers when they try with rebase. For example, after making 5 commits at the local level, and they run:
git pull --rebase origin master
to make their story linear before clicking. In most cases, this works fine, but from time to time, during the "Reuse your commits" stage, around several attempts, rebase will stop with an error:
The following untracked working tree files would be overwritten by merge
and list the files that were changed by commit (s) that have already been applied.
I saw several posts about this issue, such as this question , but they all talk about OSX, and we are on Windows. Nevertheless, we tried to establish:
git config --global core.trustctime false
but it did not help. We made sure that the antivirus does not control the directories managed by the source, and there are no backup programs that are not running ... nothing should touch these files during the redirect operation.
Has anyone else encountered this problem and found a reason?
source
share