Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  Ksindev 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.