-
i am following Cheat Sheet: Conversion of Examples from BFG is it possible to get this same behavior from git filter-repo? (don't strip big files if committed in latest master) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can copy the files elsewhere, then after running You can also implement this in a contrib/filter-repo-demos script of your own; the bfg-ish has some code that may be of interest if you really want to go down that path (look for the revert_tree_changes() function and --preserve-ref-tips). But no, nothing built in to git-filter-repo, and there are no plans to change that. |
Beta Was this translation helpful? Give feedback.
You can copy the files elsewhere, then after running
git filter-repo
copy the files back in and even amend the commit if necessary.You can also implement this in a contrib/filter-repo-demos script of your own; the bfg-ish has some code that may be of interest if you really want to go down that path (look for the revert_tree_changes() function and --preserve-ref-tips). But no, nothing built in to git-filter-repo, and there are no plans to change that.