Finding and removing files added to git by accident
Finding and removing files added to git by accident
2 Aug
Written By Roderick Kennedy
If for example, you've added lib files by mistake to a large git repo, and want to remove them, but don't know the exact paths, use this:
git ls-files *.lib>lib.b...
roderickkennedy.com1 min read