rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
11k stars 547 forks source link

Feature Request: Pulling files out of LFS #260

Open shadow7412 opened 6 years ago

shadow7412 commented 6 years ago

BFG supports putting files into LFS - but I have a situation where I have a bunch of files that should never have been put into LFS in the first place. This strongly impacts the ability to do meaningful diffs and code reviews.

For example, lets say someone accidentally added *.cs to .gitattributes.

How can I restore those files to proper source control?