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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:52:53+00:00 2026-05-14T16:52:53+00:00

I have forked an SVN project using Git because I needed to add features

  • 0

I have forked an SVN project using Git because I needed to add features that they didn’t want. But at the same time, I wanted to be able to continue pulling in features or fixes that they added to the upstream version down into my fork (where they don’t conflict). So, I have my Git project with the following branches:

  • master – the branch I actually build and deploy from
  • feature_*** – feature branches where I work or have worked on new things, which I then merge to master when complete
  • vendor-svn – my local-only git-svn branch that allows me to “git svn rebase” from their svn repo
  • vendor – my local branch that i merge vendor-svn into. then i push this (vendor) branch to the public git repo (github)

So, my flow is something like this:

git checkout vendor-svn
git svn rebase
git checkout vendor
git merge vendor-svn
git push origin vendor

Now, the question comes here: I need to review each commit that they made (preferably individually since at this point I’m about twenty commits behind them) before merging them into master. I know that I could run git checkout master; git merge vendor, but this would pull in all changes and commit them, without me being able to see if they conflict with what I need.

So, what’s the best way to do this? Git seems like a great tool for handling forks of projects since you can pull and push from multiple repos – I’m just not experienced with it enough to know the best way of doing this.

Here’s the original SVN project I’m talking about: https://appkonference.svn.sourceforge.net/svnroot/appkonference

My fork is at github.com/jthomerson/AsteriskAudioKonf

  • 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-14T16:52:53+00:00Added an answer on May 14, 2026 at 4:52 pm

    It seems like you should just create a branch off of master for your testing:

    git checkout -b testing master
    git merge vendor-svn
    # test...
    git checkout master
    git merge testing
    

    Or, if you want to test individual commits, you could merge them all individually at once:

    git checkout -b testing master
    git log --pretty=%H testing..version-svn | while read commit; do git merge $commit || break; done
    # now go check out and test each merge that was created
    

    Or one at a time:

    git checkout -b testing master
    git merge $(git log --pretty=%H testing..version-svn | tail -n 1)
    # now test the result, and if you're okay...
    # run the merge command again to merge the next commit
    git merge $(git log --pretty=%H testing..version-svn | tail -n 1)
    # and so on
    

    You’ll probably like the latter better, since you can test that commit before bothering to merge the next one. The history will be ugly, so you’d obviously want to go back and redo it all as one merge later.

    Either way be sure and set rerere.enabled to true so that git will remember how you’ve resolved conflicts, and when you go back and redo the merge straight into master, you won’t have to resolve them over again!

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

Sidebar

Related Questions

I have a generic class, but I want my type to be forced to
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have often wondered why it is that non-English speaking programmers are forced to
I have an XML form with an element 0, which is well-formed but not
Have just started using Google Chrome , and noticed in parts of our site,
something that should be so simple in .net seems to be oh-so-hard. I have
I have a bunch of externals directories in a plugins folder. ~> svn propedit
I have a process that modifies some files and I would like to commit
I have been forced to work in Visual Studio 2005 and would like to
Coming from a VB background and being forced to learn C# I have hit

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.