I'm having trouble with git on Windows. I've lost some directories, and others are listed as untracked in git even though they've been part of the repo.
One directory literally does not exist on my machine, but it exists in origin/master. However, running git pull origin master
yields "Already up-to-date.
" And git reset --hard HEAD
doesn't change anything. My HEAD
is the same as the origin's HEAD
.
How do I get my directories back into my local repository? Checking out earlier commits still doesn't restore these folders. Nor does git checkout origin/master
. I've tried creating the directory myself and git add
ing it, but the change doesn't show up in git status
.
I have no .gitignore
file.