git - Unversioned files keep reappearing after checkout -


i puzzled , not find answer after thoroughly searching google , stackoverflow.

basically, have repo 2 branches: master , dev.

when visit github.com, "master" branch empty, should be. dev branch has 200mb of files, should have.

when move command line , checkout locally (doing git checkout master), folder on local drive contains bunch of empty folders dev branch. these folders contain .ds_store files used osx... have added .ds_store .gitignore file folders keep re-appearing.

additionally, when perform git clean -d -f -x . on master branch, tells me it's removing unversioned folders, good! folders disappear local drive. however, after checking out dev branch again, , check out master branch again, unversioned folders reappear on local git repo.

i have no clue how resolve , avoid git re-creating unversioned folders each time check out master branch. lost on one!


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -