我在 Win8 上运行 msysgit 1.8.1。我正在尝试对我正在从事的项目进行一些更改。我正在尝试暂存对 vcxproj 和 vcxproj.filters 文件的更改,但无论我做什么,它们始终显示为未暂存。我认为这可能是区分大小写的问题,但即使使用 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]>