s-expressionists/Ecclesia

Preserve Git History

Closed this issue · 2 comments

It would be nice if you preserve the history of the code from when it was part of SICL. Using git filter-branch you can achieve that. The following command will keep only the commits that affected the sub-directory in question and turn that sub-directory the new top-level one.

$ git filter-branch --prune-empty --subdirectory-filter Code/Cleavir/Code-utilities/ master
phoe commented

Thanks - I will do this and force-push this repository.

phoe commented