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 8439163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:55:58+00:00 2026-06-10T07:55:58+00:00

What would be the preferred way to achieve the following workflow with either Git

  • 0

What would be the preferred way to achieve the following workflow with either Git or Subversion (I have more interest in the Git version, but comparison will definitely be useful):

  • Let’s say we had a major release of the product recently and there is a specific polisihin branch called release-2.0.x.

    The development then continued and several feature branches were merged into the master/trunk (they will later become the part of the upcoming release-2.1.x).

  • Now, at some point another feature (namely, critical-feature) was developed and merged back to master/trunk. We realize that this feature is so important, that we have to backport it to release-2.0.x.


Here is a small pseudographic illustration for the described case. Note that everything on the top brings in tree differences between release-2.0.x and current master/trunk and leads to merging problems (otherwise I could simply merge the critical-feature and avoid writing this question 🙂

    (features added since 2.0.x, which
     should not be backported)
              ^   ^    ^
              |   |    |    (code refactorings done
              |   |    |     in master/trunk)
              \   |    /     (*) (*) (*)          
-------------------------------------------------------> master/trunk
      |                                          |
      |                                          |
      |                                          |
      \ release-2.0.x                            \ critical-feature
                                                   (should be backported)

Questions:

  • What would be the best way to perform the feature backporting from the VCS perspective?

  • Should this be done as a simple merge of the corresponding critical-feature branch with conflict-resolving conflicts?

  • Or should this be done as the cherry-pick of the commit, which merges the critical-feature into master/trunk when it’s done? Or maybe even as a set of cherry-picks for each commit in the critical-feature branch?

  • Could you advise something for the conflict resolution procedure? What should one do if the current difference between release-2.0.x and master/trunk is so huge, that "naive" backporting leads to a huge amount of conflicts due to code refactoring and missing features or API, which were added after the release-2.0.x?

  • Does Git or Subversion have something specific to offer for this routine except standard merging or cherry-picking approach? I guess that rebasing won’t be helpful in case when the amount of conflicts is vast, but, obviously, I might be wrong.

  • 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-10T07:56:00+00:00Added an answer on June 10, 2026 at 7:56 am

    The all idea of backporting features looks broken for me. Only critical and non-destructive changes should be backported. For features and improvements you have to create new branch and start stabilization period.

    Check out release process used in Apache Subversion project itself:
    https://subversion.apache.org/docs/community-guide/releasing.html#release-stabilization

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

Sidebar

Related Questions

What would the preferred way of programmatically determining which the currently installed version of
What would be the preferred way to convert opacity (0 - 1) to hex
I am wondering what would be the best/preferred way to write a scanning app
I'm trying to figure out the preferred way of handling more than one vendor
What is assumed to be the preferred way to fix comparison between signed and
Could someone explain the best way to achieve the following, I think it's a
I'm implementing the module pattern, and would like to know the best/preferred way to
i know the preferred way of get a new NSDate is [NSDate date]. but
What would be the preferred way to remove all empty and unnecessery nodes? For
Just out of curiosity, what is the preferred way to achieve interprocess synchronization on

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.