git discard local changes and pull - How do I discard unstaged changes in Git?

git reset file / git / version-control

How do I discard changes in my working copy that are not in the index?

Venkat



Answer #1
git clean -df