问题:
For some reason, when I initially did a pull from the repository for a git project of mine, I got a ton of files in my working copy that have no discernible changes made to them, but keep showing up in my unstaged changes
area. 出于某种原因,当我最初从存储库中获取我的git项目时,我在工作副本中获得了大量文件,这些文件没有对它们进行任何可识别的更改,但是仍然显示在我的未unstaged changes
区域中。
I'm using Git Gui on Windows xp, and when I go to look at the file to see what has changed. 我在Windows XP上使用Git Gui,当我去查看文件时看看有什么变化。 All I see is: 我只看到:
old mode 100755
new mode 100644
Does anyone know what this means? 有谁知道这意味着什么?
How can I get these files out of my list of unstaged changes? 如何从我的未分级更改列表中获取这些文件? (Very annoying to have to go through 100's of files, just to pick out files I've recently edited and want to commit). (非常讨厌必须通过100个文件,只是挑选我最近编辑过的文件并想要提交)。
解决方案:
参考一: https://stackoom.com/question/5H9k/如何从Git中的非分段更改中删除说-旧模式-新模式-的文件参考二: https://oldbug.net/q/5H9k/How-do-I-remove-files-saying-old-mode-100755-new-mode-100644-from-unstaged-changes-in-Git
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4352991