Can someone tell what are the consequences of deleting .git folder in my project

Can someone tell what are the consequences of deleting .git folder in my project.
And also what are the consequences if i delete only the objects folder inside .git folder

I honesty think you just wouldn’t have a git repo…
Won’t be able to use git within Glitch, so you would have to download your project, extract and such

how about i remove .git folder and then in console i run git init

Then you would get the git repo back

so you mean i wouldnt lose anything if i do that??

well yes & no

yes, because you would delete the git version on the project, and would be left with the files themselves (this is what i think would happen, so try it on another project first and see what would happen)

i literally did in my working project. And nothing really happened the only consequences is that i cannot use rewind no more as rewind uses .git folder to bring your project back to the previous commit. That’s the only consequences i faced now. :slight_smile:

If you need rewind, download the project, then make a new project, upload the files to that new one, and it should work

no i wasn’t the fan of rewind so im ok with it

Ok, also I had forgotten that rewind uses git to rollback changes and stuff

thats what i said b4