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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:34:38+00:00 2026-06-08T14:34:38+00:00

it is my first attempt to make git-svn project. I have Debian server with

  • 0

it is my first attempt to make git-svn project. I have Debian server with direct access.

Info:
– local SVN is one branch and i won’t be doing any local or remote commits

What i want to archive:

  1. Create true GIT local repository. That’s easy :-]

  2. Create SVN local copy(or git-svn repo ? i don’t know witch will be better in this case) of http://miranda.googlecode.com/svn/trunk/ (one branch) and then automatically get all changes via some script that detect remote changes and run “svn update” after.

  3. Somehow get all “changes” one by one (files and commit messages) from local SVN repo to local GIT repo and a branch named “Miranda-svn”. So when you look and the commits/log for this specific branch, you will see the same messages as http://code.google.com/p/miranda/source/list has.

  4. Push “Miranda-svn” branch to the remote github.com account, project name “Test”, branch name “Miranda-svn”

  5. Merge branch “Miranda-svn” with “master”

Can somebody help me ? Is there some example of such setup ?

  • 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-08T14:34:39+00:00Added an answer on June 8, 2026 at 2:34 pm

    This is pretty straightforward with Git.

    First “clone” the remote repository with git svn

    git svn init --trunk=trunk http://miranda.googlecode.com/svn miranda
    cd miranda
    git svn fetch
    git checkout -b Miranda-svn remotes/trunk 
    

    Note: You may wish to limit the number of revisions fetched by using the -r start:end switch

    Then add a new remote for github

    git remote add origin git@github.com:myuser/test.git
    

    Finally push changes to the github remote

    git push origin Miranda-svn
    

    To update Git branch with contents from SVN:

    git checkout Miranda-svn # Just to be sure that we are on the correct branch
    git svn rebase
    git push origin Miranda-svn
    

    Merge SVN changes to another Git branch:

    git checkout master # Or whatever branch you want
    git merge --no-ff Miranda-svn
    

    NB! As SVN has linear history and the “svn” branch will be rebased on every “pull” you do not want to commit anything into Miranda-svn branch with this setup.

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

Sidebar

Related Questions

This is my first attempt to write a jQuery plugin, this one is supposed
This is my first attempt at using Backbone.js, so I decided to make a
This is my first attempt at java problem I have been given as part
First attempt It's difficult to make this question pithy, but to provide a minimal
First attempt at a RoR project and following http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application . I've got the Welcome
I'm using the jquery validator plugin, and I'm trying to make my first attempt
First attempt to use this cool site - after searching for 2 hours: So
First day and first attempt at using Scala - so go easy on me!
This is my first attempt at responsive design, so I'm keeping it simple. I
This is my first attempt to write shorthand if statements however am befuddled by

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.