Hi all, I've been migrating our SVN repository to GIT and it went pretty straightforward.
However, due the the lack of disciplin in the SVN era, we have a repo that's full of non-related stuff and cloning it takes time; most of the stuff isn't required anymore. I'd like to sanitize my actual Git repo and I thought we actually could keep the one we have for historical reasons. One way I thought of for getting a "clean" git repo is to create a brand new one and have a branch that only covers a range of commits, say from <first_SHA1>..HEAD of a given (current) branch. So, more graphically, I might have something like this: (branch B1) A -> B -> C -> D \ (branch B2) -> E -> F -> G -> ... ->HEAD So I'd like to have only the branch that covers history from E to HEAD of B2 in a new branch. The only way I can see how to do that is to program a for loop outside of Git and "replay" the changes from E to HEAD of B2. But I'm not even sure to know how I'd find that. Can cherry-pick be of any help? Cheers, Eric -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/J5nJaTbKqZQJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.