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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:12:42+00:00 2026-05-25T22:12:42+00:00

new git user here. I want to use git, but i’m in an SVN

  • 0

new git user here. I want to use git, but i’m in an SVN environment. From some books I’ve read and some simple experimenting, I’ve hit some troubling pitfalls and am hoping to get clarification on how to get starting without my colleagues wanting to kill me.

I want my workflow to be:

  • a master git branch that stays in step with svn’s trunk.

  • local git branches that i do my feature and bug work in.

  • I want to frequently bring the feature branches up to date with master.

  • When i’m ready I want to merge a feature branch in with master and commit that back to svn.

Is this a typical workflow?

Initially I was using git merge to merge my master branch and feature branches. This led to all kinds of conflicts and problems. I later read to avoid using git merge alltogether and stick with git rebase. Would the following git commands, then, be correct?

  • git svn rebase (to pull down latest changes to master)
  • git checkout -b myAwesomeFeature (to make a feature branch to work on)
  • … do some work, make commits to my feature branch
  • <<< TIME GOES BY >>>
  • git checkout master
  • git svn rebase (to pull down new stuff)
  • git checkout myAwesomeFeature
  • git rebase master ( to get svn trunk’s stuff into my feature branch)
  • <<< READY TO PUSH MY FEATURE BRANCH >>>
  • git checkout master
  • git rebase myAwesomeFeature (to fast forward masters head to get my feature stuff in)
  • git svn dcommit (to finally publish)

Any advice or suggestions to help an aspiring git user live in an svn world would be really appreciated. Thanks

  • 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-25T22:12:43+00:00Added an answer on May 25, 2026 at 10:12 pm

    Your workflow is about the same I have. It is good enough if you are only committing to the svn trunk. It gets complicated when you commit to multiple svn branches where rebase not only merges the contents, but also changes the pointed-to svn branch, in which case, you can only git cherry-pick when you need commits into one svn branch targeting git branch in another, as discussed here: Overcome git svn caveats

    It is also worth understanding that SVN’s inability to handle non-linear history and that git merge can’t be used with it: git svn workflow – feature branches and merge

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

Sidebar

Related Questions

I am a new user in Git world. I used to use Subversion (using
I am a basic SVN user now trying to learn GIT for a new
I know that I can use git commit --amend --file=path-to-my-new-message but this will amend
I'm a long time Eclipse user but new to Git/Egit. Recently I've been trying
I'm new to git. I need to use public key to push changes from
I am a new user to git and I am starting a new project.
I am new to git, and have a subversion repository that I want to
I 'm relatively new to git and and having some problems early on. I've
I am new to git and distributed version control but have managed, without much
I have set up a git repository on my server. Created a new user

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.