git reset --hard HEAD leaves untracked files behind -


when run git reset --hard head, it's supposed reset pristine version of pulled, understand it. unfortunately, leaves files lying around, git status shows big list of untracked files.

how tell git "just bring in last pull, nothing more, nothing less"?

you have use git clean -f -d rid of untracked files , directories in working copy.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -