Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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 that git says were deleted? And no, committing changes is probably not safe. – depquid Apr 29 '13 at 14:47
I am using Git Bash, those files are not in local file system. – KarthzDIGI Apr 30 '13 at 10:40
If you haven't made changes to your working copy, try running git reset --hard. – depquid May 6 '13 at 12:26

You must log in to answer this question.

Browse other questions tagged .