Reputation: 89
In one of my server i've a big file like 2G ( pack )in Git. I'read some documentation but i didn't find any information about if you remove it without damage my git repository .
Do you have any idea about that ?
regards
Upvotes: 8
Views: 14816
Reputation: 94667
If you mean pack files in .git/objects/pack/
then yes there will be damage. These files are essential parts of the git object database. Please do not mess with files in .git/objects/
.
If the pack files are too large you need to edit history to remove large files and repack. See these questions and answers: Remove large .pack file created by git, Large pack file git not solved.
Upvotes: 6