Permanently remove files and folders from a git repository | Dalibor Nasevic
Dalibor Nasevic - Permanently remove files and folders from a git repository
Few weeks ago I froze gems on my blog project and ended up with a very big repository. So, I wanted to clean up the mess and remove permanently gems folder from the repository. "git rm" isn't doing the job well, it only removes the folder from the working tree and the repository still contains the objects of this folder. After a quick search, I found that git-filter-branch was the command I was looking for.
No comments:
Post a Comment