I started to work on a project with an old and very big repo, around 1.1GB
I have made a full clone from the original repo, into another repo and called it original-repo
The project will continue only on a specific part and all other parts are deprecated, so all the commits and branches from initial commit (7e48a70
) to a specific commit (222b1f3
) are useless. And to make repo clean I need to delete all those commits and all branches except for master, and rewrite the history of the working repo.
I've searched and read lot of topics, used many scripts and commands, installed some Git GUI applications, but couldn't manage to delete the commits and branches to cleanup and reduce size of repo. Repo size is still 1.1GB
.
Any help would be really appreciated.