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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:50:47+00:00 2026-05-14T07:50:47+00:00

I keep hearing that branching in git is so much easier than in SVN,

  • 0

I keep hearing that branching in git is so much easier than in SVN, because it’s easier to merge the branch back to trunk/master. I’ve read some tutorials, but they only covered basic merge conflicts (“Alice changed line 8 of code.cpp and at the same time Bob changed line 8 of code.cpp…”) and there are no differences between SVN and all other distributed source control systems.

Can you give me the examples of changes in branch that would cause troubles in SVN repository, but would be handled gracefully by git?

  • 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-14T07:50:47+00:00Added an answer on May 14, 2026 at 7:50 am

    I finally had some time to tinker with branches/merging with git and svn and found the case that kills svn but works perfectly with git:

    Let’s say the project consists of those files:

    /main.cpp
    /sub1/sub1.cpp
    /sub1/sub1.h
    
    1. Create branch
    2. In trunk, move sub1.* to root directory, delete sub1 subdirectory.
    3. In branch make some changes in /sub1/sub1.cpp
    4. In trunk make some changes in /sub1.cpp
    5. Merge branch and trunk.

    SVN loses all changes made in branch in point 3, similar changes in git are perfectly merged. That’s enough for me to reject SVN as version control system for any project that requires branching.

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

Sidebar

Related Questions

I keep hearing that div tags should be used for layout purposes and not
I keep hearing that catch (Exception ex) Is bad practise, however, I often use
I keep hearing that Lisp is a really productive language, and I'm enjoying SICP
I keep hearing people complaining that C++ doesn't have garbage collection. I also hear
What is some good software that is written with WPF? I keep hearing about
I keep hearing that in .net 3.5 you should use IEnumerable over a List,
I keep hearing that it's bad practise to store large object collections / anything
i keep hearing that i shouldn't be using primary keys in my asp.net mvc
I keep hearing that Android applications should try to limit the number of objects
I keep hearing that the server side ASP .NET AJAX controls (like UpdatePanels) are

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.