diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-02-18 00:34:59 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-02-18 00:34:59 +0000 |
commit | 89d4e0f4569738d0b1885879bf6ed88a972cd3da (patch) | |
tree | 42b660ac1ea500caecdcdf951b7c1b3d307fa6cf /git-checkout.html | |
parent | fd468962039a6dcb0cd360ac60a3e7631b2b3b5d (diff) | |
download | git-htmldocs-89d4e0f4569738d0b1885879bf6ed88a972cd3da.tar.gz |
Autogenerated HTML docs for v1.5.0-50-gb7581
Diffstat (limited to 'git-checkout.html')
-rw-r--r-- | git-checkout.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/git-checkout.html b/git-checkout.html index 14b659e36..843465cba 100644 --- a/git-checkout.html +++ b/git-checkout.html @@ -347,7 +347,8 @@ working tree.</p> </p>
<p>When a merge conflict happens, the index entries for conflicting
paths are left unmerged, and you need to resolve the conflicts
-and mark the resolved paths with <tt>git update-index</tt>.</p>
+and mark the resolved paths with <tt>git add</tt> (or <tt>git rm</tt> if the merge
+should result in deletion of the path).</p>
</dd>
<dt>
<new_branch>
@@ -487,11 +488,11 @@ fatal: merge program failed</tt></pre> <p>At this point, <tt>git diff</tt> shows the changes cleanly merged as in
the previous example, as well as the changes in the conflicted
files. Edit and resolve the conflict and mark it resolved with
-<tt>git update-index</tt> as usual:</p>
+<tt>git add</tt> as usual:</p>
<div class="listingblock">
<div class="content">
<pre><tt>$ edit frotz
-$ git update-index frotz</tt></pre>
+$ git add frotz</tt></pre>
</div></div>
</li>
</ol>
@@ -510,7 +511,7 @@ $ git update-index frotz</tt></pre> </div>
<div id="footer">
<div id="footer-text">
-Last updated 13-Feb-2007 23:48:05 UTC
+Last updated 18-Feb-2007 00:34:40 UTC
</div>
</div>
</body>
|