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
Post a Comment