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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:58:03+00:00 2026-05-13T12:58:03+00:00

My project I am working on is version controlled under SVN. I had to

  • 0

My project I am working on is version controlled under SVN. I had to do a large number of refactorings. For this purpose I took my workspace and created a new git repository. Afterwards I made the refactorings and committed to my local git repository as often as possible, made branches etc..

Meanwhile someone made commits to the SVN. Now I would like to commit my changes also into the SVN.
Adding the SVN via git-svn clone doesnt help, because the clone and the existing branches cant be merged (missing common ancestor) even if the tracked files are the same.

Is there a possibility to add a SVN link and/or create this ancestor?

  • 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-13T12:58:04+00:00Added an answer on May 13, 2026 at 12:58 pm

    It’s sort of a dirty hack in this instance, but if you smash all the commits down using rebase, you could probably just cherry-pick the consolidated change.

    UPDATE: Also, you might try using rebase to move the root of the branch you did your refactoring on so that it branches from a branch that tracks the git-svn repo.

    UPDATE 2: As ndim says, the rebase option you’re looking for is probably --onto.

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

Sidebar

Related Questions

I am working on project of android in eclipse.Android version is 2.3.3. I had
I have a project I am working on that is being version controlled on
I'm currently working on a project where our product at the current version is
I have just begun working on a project which uses Mercurial as a version
I have a project working fine under MSVS 2010 SP1. I'm trying to convert
I'm having trouble getting the tutorial project working. I've placed it under homedir/Spotify/Tutorial In
I have a framework based project that I'm using SVN to version control. I
So I had this project where at first I did a git add .
To keep URLs working in version-controlled projects, I've been using $_SERVER['DOCUMENT_ROOT']. The problem is,
We're working on quite big project and decided use GIT for version control. I've

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.