Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://www.kernel.org/pub/software/scm/git/docs/git-merge.html" rel="noreferrer"><code>git merge</code></a> should be able to detect (up to a certain point) renames.</p> <blockquote> <p><code>recursive</code></p> <p>This can only resolve two heads using a 3-way merge algorithm.<br> Additionally this can detect and handle merges involving renames.<br> This is the default merge strategy when pulling or merging one branch.</p> </blockquote> <p>But <a href="http://git-scm.com/docs/git-svn" rel="noreferrer"><code>git-svn</code></a> can only import/export from/to SVN, not do the merge.<br> And the merge is tricky:</p> <blockquote> <p><strong>CAVEATS</strong></p> <p>For the sake of simplicity and interoperating with a less-capable system (SVN), it is recommended that all <code>git svn</code> users clone, fetch and dcommit directly from the SVN server, and avoid all git clone/pull/merge/push operations between git repositories and branches.<br> The recommended method of exchanging code between git branches and users is git format-patch and git am, or just 'dcommit'ing to the SVN repository.</p> <p>Running git merge or git pull is NOT recommended on a branch you plan to dcommit from. Subversion does not represent merges in any reasonable or useful fashion; so users using Subversion cannot see any merges you've made. Furthermore, if you merge or pull from a git branch that is a mirror of an SVN branch, dcommit may commit to the wrong branch.</p> <p>If you do merge, note the following rule: git svn dcommit will attempt to commit on top of the SVN commit named in</p> </blockquote> <pre><code>git log --grep=^git-svn-id: --first-parent -1 </code></pre> <blockquote> <p><strong>You must therefore ensure that the most recent commit of the branch you want to dcommit to is the first parent of the merge. Chaos will ensue otherwise, especially if the first parent is an older commit on the same SVN branch.</strong></p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload