Answer the question
In order to leave comments, you need to log in
Git: how to completely remove a file from a repository if none of the articles helped?
Hello :)
I ask for help from experienced guides, because I myself have reached a dead end.
git gc with different keys didn't help. Like that:
rm -Rf .git/refs/original
rm -Rf .git/logs/
git gc
git gc --auto
git gc --aggressive
git gc --aggressive --prune
rm -rf .git/refs/original
rm -rf .git/logs/
git reflog expire --all --expire='0 days'
git repack -A -d
git prune
> git count-objects -v
count: 0
size: 0
in-pack: 4847
packs: 6
size-pack: 722796
prune-packable: 0
garbage: 0
Answer the question
In order to leave comments, you need to log in
I look in which commits this file is mentioned: none.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question