Just in case anyone else has this issue:

I keep having the following situation come up:

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
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:   3rdparty/hunspell/1.3.3/src/hunspell/hunspell.dsp
        modified:   
development/Win32/packaging/installer/information/WinLangCode.htm
        modified:   development/Win32/vld/src/crtmfcpatch.h
        modified:   development/Win32/vld/src/resource.h
        modified:   development/Win32/vld/src/vld.h

no changes added to commit (use "git add" and/or "git commit -a")
$

I think this is due to the recent fixes in .gitattributes. In any case,
git reset --hard does not fix anything. But the following does work for
me:

git rm .gitattributes
git add -A
git reset --hard

source:
http://stackoverflow.com/questions/11383094/unstaged-changes-left-after-git-reset-hard

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to