svn update VS git merge -


svn update command automatically resolves conflicts if 2 developers have modified same files. if appended line @ bottom while collegue inserted line in middle. when try update remote repository, change still @ bottom updated file.

how can handled in git? everytime merge, have conflicts because of simple changes multiple developers on same files.

svn , git apply incoming changes in same way: non-overlapping changes (local , remote) applied without conflict, overlapping changes produce merge-conflicts.

both tools calculate context-aware chunks of changes. not examine text single-lines. if width of context in git bigger of svn (default svn 3 lines), you'll different results same sources. otherwise merging in git , svn should give same results.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -