Cleanup Git history to remove unwanted files

added by DotNetKicks
3/6/2018 7:09:28 PM

2 Kicks, 297 Views

I recently had to work with a Git repository whose modifications needed to be ported to another repo. Unfortunately, the repo had been created without a .gitignore file, so a lot of useless files (bin/obj/packages directories...) had been commited. This made the history hard to follow, because each commit had hundreds of modified files.