我在Win8上运行msysgit 1.8.1。 我正在尝试对正在进行的项目进行一些更改。 我正在尝试对vcxproj和vcxproj.filters文件进行更改,但无论我做什么,它们总是显示为unstaged。 我认为这可能是一个区分大小写的问题,但即使使用core.ignorecase = true选项也没有什么区别。 有没有人有任何想法如何解决这个问题?
这是我试图登台其中一个档案的成绩单。
C:\sdev\realtick [dev +2 ~2 -0 | +0 ~2 -0]> git status # On branch dev # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: rtpack.props # modified: rtpack.targets # new file: tools/TALRGB/TalRgb32.idb # new file: tools/TALRGB/packages.props # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: TOOLS/TALRGB/TalRgb.vcxproj # modified: TOOLS/TALRGB/TalRgb.vcxproj.filters # C:\sdev\realtick [dev +2 ~2 -0 | +0 ~2 -0]> git add TOOLS/TALRGB/TalRgb.vcxproj C:\sdev\realtick [dev +2 ~2 -0 | +0 ~2 -0]> git status # On branch dev # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: rtpack.props # modified: rtpack.targets # new file: tools/TALRGB/TalRgb32.idb # new file: tools/TALRGB/packages.props # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: TOOLS/TALRGB/TalRgb.vcxproj # modified: TOOLS/TALRGB/TalRgb.vcxproj.filters # C:\sdev\realtick [dev +2 ~2 -0 | +0 ~2 -0]>