It's potentially a duplicated topic but the solutions founded here doesn't look enough.
We have a project with ~190MB of code and a git folder with ~6GB and a lot of commits that are not interesting anymore.
Supose my commits looks like:
A, B, C...Y, Z, AA, AB...FC, FD...GO
How I can delete history from B to FC plus shrink git folder and get only:
A, FD...GO
I believe that after that all developers should clone the repo again to avoid conflicts.
Again, sorry if it's a duplicated topic but I'm a bit confused about all the solutions for this kind of problem.