Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: Migration from CVS to GIT - Multiple directories in CVS repo to a single Git repo

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:51:30

On 06/22/2011 11:06 AM, sandy2010 wrote:
Hello,

I'm aware of cvs2git and git fast-import utilities to do this. My
requirement is little different.
My CVS Repo is:
/cvs/BFARM

This consists of following directories:
Misc/suite1
Misc/suite2
Misc/suite3

Now, I want to Migrate the suite1 and suite2 into a single Git repo
"/git/Testsuites" and it should look like this:
/git/Testsuites/suite1
/git/Testsuites/suite2

How can I do this? I do not want to make suite1 and suite2 as separate git
repos.
Make a single repository out of them first, and then look at
git-filter-branch to create separate repositories for them.
You'll want to use the tree-filter option.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help