Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deletion of file in .git folder

Simone Croci
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2020

I have unintentionally deleted a file in the .git folder. The repository seems to still work (commit, push, pull, ... are working without problems). Could a deletion of a file inside the .git folder affect the files outside this folder? could the deletion undo some changes in the repository files?

1 answer

1 accepted

0 votes
Answer accepted
Hana Kučerová
Community Champion
August 2, 2020

Hi @Simone Croci,

welcome to the Atlassian community!

It depends which file you've deleted but I would definitely recommend you to clone your repository again to create the correct content of .git folder.

sicroci
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2020

I will do... thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events