Conversation
Notices
-
I have a project with multiple modules in the same repo. What's the best way to split while maintaining as much history as possible? !git
-
@duck1123 Did you already read „How to Detach subdirectory into separate !Git repository“? http://is.gd/2x4rzj
Ilpo Nyyssönen likes this. -
I'm trying to avoid re-writing history. I think I'm going to just branch it as forks for each of them.
-
For a module you can clone the repo and git-rm all except that module, then commit the removal. Or didn't I understand?
-
You could use git-filter-branch, but be warned: there be dragons.
-
@pacovila That's the option I'm going to go with. That way each has the history up to the split. Debating doing as a github fork.
-