splitting a git repository
git
Solution
`git filter-branch` is the way to go. Make a copy of the repo for each subdirectory, then in each copy run a line like this replacing "myclassname" with your actual class name:
git filter-branch --subdirectory-filter myclassname -- --all
A more elaborate description of the process is provided on the Github help page.
Problem
I currently have a git repository that I imported from svn a while ago name school. Inside this school repository I have a folder for each of my classes. I can't seem how to take this one repository and split it into a repository for each class without losing the entire history of the class, which I would prefer not to do. Suggestions?