0
I have a local git repository running on my windows machine. The remote origin is in github.
After executing a git pull
when I run git status -s
command, it is displaying some files with D
mark. But I have not deleted any files in my local directory. Why this is showing 'D'
Mark for files which I have not deleted? Is it safe to commit changes and push to the remote repository in this situation?
Maybe "you" didn't delete those files, but something else did? Are you using Git Bash or similar? What does
ls -l
show for the files thatgit
says were deleted? And no, committing changes is probably not safe. – depquid – 2013-04-29T14:47:17.463I am using Git Bash, those files are not in local file system. – karthzDIGI – 2013-04-30T10:40:20.257
If you haven't made changes to your working copy, try running
git reset --hard
. – depquid – 2013-05-06T12:26:07.983