Clean index before git reset and when clearing depot
Merge pull request #3 from jsoriano/dirty-index-problems

Clean index before git reset and when clearing depot