sunmingtao / sample-code

3 stars 4 forks source link

How to reset the git branch to HEAD? #259

Closed sunmingtao closed 3 years ago

sunmingtao commented 3 years ago

git reset --hard doesn't delete untracked files git clean -df does the trick