Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What will happen if I delete the .git folder after my work is done with git? Will I have to start new repository when working again on that directory?

Tags:

git

You know, these .gits don't look fine in a PC when you work.So I have decided to delete it. But I'm afraid if it deletes my files/folders cloned/pulled from github under this repository.

like image 521
aahmed109 Avatar asked Sep 27 '15 02:09

aahmed109


1 Answers

Deleting the .git folder does not delete the other files in that folder which is part of the git repository.

However, the folder will no longer be under versioning control.

like image 51
Froziph Avatar answered Sep 27 '22 18:09

Froziph