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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:15:05+00:00 2026-05-20T13:15:05+00:00

I have cloned an existing SVN project via git svn clone with no problem

  • 0

I have cloned an existing SVN project via git svn clone with no problem so far, but in the mean time I have created a branch in Git only (not in SVN) and now i would like to synchronize this branch back to an SVN branch (not the trunk).

I have created the branch a little time ago. Is it possible to get back the information stored on that Git branch into SVN?

  • 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-20T13:15:06+00:00Added an answer on May 20, 2026 at 1:15 pm

    You can create a new branch in Subversion using git svn branch. You might want to look at the example in this answer:

    • Git-svn: create & push a new branch/tag?

    In particular, a good tip in the linked tutorial is to use the --dry-run option to svn dcommit to check that when you run the command for real, it’ll be pushing to the right branch.

    The Pro Git book has a clearer description of how git svn dcommit decides which svn branch to update. It sounds to me as if you should:

    • Create a new svn branch using git svn branch new-experiment
    • Create a local branch to track remotes/new-experiment with git checkout --track -b new-experiment remotes/new-experiment
    • Rebase the changes from your old git topic branch (let’s suppose it’s called experiment) onto new-experiment:

       git checkout experiment
       git branch original-experiment
       git rebase new-experiment
       git checkout new-experiment
       git merge experiment
      
    • Try git svn dcommit --dry-run to check that the right subversion branch will be updated
    • If so, do git svn dcommit
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a bare git repo (lets call it repo #1) and cloned
I have a git repository which tracks an svn repository. I cloned it using
I wish to contribute code to http://svn.r-project.org/R/ But I only have experience with using
Noob here.... I cloned a git and then created a new branch in it.
I have been using both git and svn for quite some time now, and
I've created a bare git repository (Core), cloned from a pre-existing repo (Production) using
I have two git repositories: report.git (Master on remote location) cloned.git (Local) I lost
If I have a clone of a git repository as a cached copy on
I've a project developed with GIT and have a few hundred commits. I only
I have an existing Python django Project running in Web Server. Now the client

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.