Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have installed a wordpress site and for some reason I can see these 2 directories: .git .qidb

Do I need them? Can I remove them? Will it hurt me in any way?

share|improve this question
    
From where have you downloaded WordPress? And where exactly can you see those files? –  kaiser Dec 17 '12 at 13:35
    
I think my hosting company had a tool to auto install wordpress... –  Chaiavi Dec 17 '12 at 13:52
    
These directories (containing thousands of files - 80 mega!) are in the root directory of wordpress –  Chaiavi Dec 17 '12 at 13:53
add comment

2 Answers 2

up vote 4 down vote accepted

You should not need the .git directory but I would not delete it.

It contains the version control for your site, and is thus an incredibly valuable resource should you need a developer to fix or upgrade your site in the future.

It also shows you a full history of the development of your site. This will save future developers time, and anything that saves them time, save you money!

So leave the .git folder there, don't touch it, if you must, back it up before deleting it.

If it's been put there as part of the auto installation then removing it could cause issues if your host tries to update it, or if it uses that folder to check if there's a WordPress install

The .qidb folder is related to Berkeley DB, but that's unrelated to WordPress, it may be related to a previous site, but I would backup that, deleting it shouldn't impact your WordPress install.

share|improve this answer
1  
Thanks Tom..... –  Chaiavi Dec 18 '12 at 9:31
add comment

.git folder stores all your source control information, this is typically used by developers. It's a leftover by the person you hired for development of your theme/plugin.

.qidb is most likely database related but i haven't seen them associated with wordpress before.

As for functioning of your wordpress site, these folders don't affect it & are safe to delete. Nor do they hurt anyone if present. So it's totally up to you

share|improve this answer
    
Thanks, I will delete them. –  Chaiavi Dec 17 '12 at 14:17
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.