我在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]>