Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3243392
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:25:37+00:00 2026-05-17T18:25:37+00:00

I have a project in SVN that I’m migrating to Git. The project consists

  • 0

I have a project in SVN that I’m migrating to Git. The project consists of a “core” product (under trunk), which is then branched within the same repository and used as a starting point to customize for each individual client that we roll the product out to.

It seems to me that these aren’t real branches as they will never be merged back into the trunk, and they would be better off living in their own repositories with their history linking them back to the “trunk” repository and the ability to pull in changes from the trunk when required (easily accomplished with git of course).

What makes things slightly more complicated is that one client has a branch of their own project, which is a “real” branch in the sense that it will be merged back onto that clients main branch at some point in time.

To hopefully make things clearer, the SVN structure is as follows:

  • “Project” Repository
    • Trunk
    • Branches
      • Client1 (branched from Trunk v100)
      • Client2 (branched from Trunk v150)
      • Client2-Branch (branched from Client2 v200)
      • Client3 (branched from Trunk v150)

And the structure I’d like to get to is

  • “Project” Repository

  • Client1 Repository (Forked from SHA123)

  • Client2 Repository (Forked from SHA456)

    • Client2-Branch (branched from SHA456789)
  • Client3 Repository (Forked from SHA789)

Can anyone recommend a good way to do this – I’m not a Git newbie and I’m aware of filter-branch, I’m just not sure what method I should take to get this structure and keep as much history as possible.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:25:38+00:00Added an answer on May 17, 2026 at 6:25 pm

    If you really want to do this, clone the repo, and delete the extraneous branches in each.

    But the current situation seems just fine. Are you sure you’ll never want to cherry-pick patches from one repo to another?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to check some code and run it. I have the URL: svn+ssh://myuser@www.myclient.com/home/svn/project/trunk
We have an svn project that also has several plugins in vendor/plugins - all
I have forked an SVN project using Git because I needed to add features
I have a TeamCity project setup that currently looks at the trunk of my
I have a revision.txt file in my SVN project. Basically I want that this
I have an SVN (1.6.12) project containing a trunk and one branch. I am
I have a SVN project at work that looks like this: Repository project |--
I have a SVN repository for my project; it keeps code, docs, graphs, etc.
I have project that I'm working on that is going to require a webserver.
I have a project that I'm currently working on but it currently only supports

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.