KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
So, I've a bigger (closed source) project, and in the context of this project created a library which could also be useful elsewhere, I think. I now want to split off the library in its own project, which could go as open source on github or similar. Of course, the library (and its history there) should contain no traces of our project. git-subtree seems like a solution here, but it does not completely fit. My directory layout is something like this (since it is a Java project): fencing-game (git workdir) src de fencing_game transport (my library) protocol (part of the library) fencing (part of the main project interfacing with the library) client (part of the main project interfacing with the library) server (part of the main project interfacing with the library) client (part of the main project) server (part of the main project) ... (part of the main project) other files and directories (build system, website and such - part of the main project) After the split, I want the library's directory layout look like this (including any files directly in the bold directories): my-library (name to be determined) src de fencing_game transport (my library) protocol (part of the library) The history should also contain just the part of the main project's history which touches this part of the repository. A first look showed me git-subtree split --prefix=src/de/fencing_ame/transport , but this will <
Tags (comma-separated)
Save Edits
Cancel