Remove local uncommitted changes in git


Posted on October 03, 2013

If you want to get rid of your local uncommitted changes to a repository you can do it this way..

Stash your local changes

git stash --include-untracked


Optional : Get latest copy

git pull


Clear everything in stash

git stash clear


More details here
http://stackoverflow.com/a/9244805/156446

-- Lee