git에서 아무리 reset --hard를 해도 unstaged changes가 사라지지 않는 이슈... 해당 파일 삭제후 reset 또는 stash에 넣어도 사라지지 않는 현상
experience
- git 사용중, pull받고 난 이후에 특이한 unstaged change가 발생했는데, 이를 삭제할 수가 없는 현상.. @.@
해결방법은 아래와 같음...
1) Remove every file from Git's index.
git rm --cached -r .
2) Rewrite the Git index to pick up all the new line endings.
git reset --hard
from : https://stackoverflow.com/questions/11383094/unstaged-changes-left-after-git-reset-hard
댓글
댓글 쓰기