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

  • SEARCH
  • Home
  • 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 9232085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:13:45+00:00 2026-06-18T06:13:45+00:00

Right now my project v1 (in production) is in Trunk, while v2 (in development)

  • 0

Right now my project v1 (in production) is in Trunk, while v2 (in development) is in a Branch in SVN. It is not likely that v2 will ever be merged into v1.

I want to migrate to Git in the near future because switching between v1 and v2 are very slow in SVN, and branch driven development is a pain in SVN.

I’m thinking of using a local Git repo and use git svn for now, and push the Git repo to a centralize server later when the team is ready.

How should my git workflow be if I want to work on v2 and dcommit to v2 branch in SVN? Is there a better way of managing v1 and v2 concurrently going forward?

Thanks!

update: I’m thinking of doing the following, please comment whether this is a good idea:

  1. SVN branch head to /branches/v1
  2. git rebase branches/v2 on master
  3. git svn dcommit to trunk
  4. work on Master (trunk) going forward

What do you think?

  • 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-06-18T06:13:46+00:00Added an answer on June 18, 2026 at 6:13 am

    The best thing to do is get everyone to move sooner than later to git. It simply handles things like this better. Git svn isn’t designed to deal with branches that well, and although it works sometimes it’s really not that safe. IMHO, but then I’m not a git developer and I’m only speaking from experience of trying it and having pain. For me, it’s always much easier if the upstream (yourself, your team or someone else) can convert to git. Suddenly problems just go away.

    In the future, you can do what I did in Net-SNMP’s conversion to git and branch management: merge everything over, and do an initial merge of the v1 project into the main development branch with -s ours. That basically sets the version history to ignoring all the past development differences between the new branches, but lets you apply new patches to v1 into the tree and still merge those new patches into v2. This way we have, in Net-SNMP, often 4-5 active branches. Patches go into the oldest most relevant branch and get merged upward. Suddenly we no longer have issues remembering to apply patches to every branch!

    Simple git wrapper scripts automate the multiple-branch patch management and the whole effort is mostly harmless. Only some major architectural changes cause minor-headaches and require manual merging/porting.

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

Sidebar

Related Questions

In the .net 3.5 project that I am working on right now, I was
Setup is following: Drupal project, one svn repo with trunk/qa/production-ready branches, vhosts for every
Right now a project I'm working on has reached a level of complexity that
I'm working on a little project right now in ActionScript 3. The project is
Right now I am trying to solve Project Euler 71 . Consider the fraction,
Right now we are maintaining some old project written in VB6 we are planning
Right now I am working on a dll project with several handy .net tools.
Right now I am working on a stub of a project. In the course
Right now, I'm switching my project over from the classic fluent nhibernate style of
I am writing a MVC3 project. Right now I have a table which has

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.