Check-in [6d6959b47d]
Not logged in
Overview

SHA1 Hash:6d6959b47dc85cee87e2b9003ad06350a2a942f9
Date: 2008-11-17 17:11:29
User: kejoki
Comment:Initial doc for update.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Added www/cmd_update.wiki version [dcedcc0deb]

@@ -1,1 +1,33 @@
+<h2>update</h2>
+
+What do you do if you have changes out on a repository and
+you want them merged with your checkout?
+
+You use the <code>update</code> command, that's what.
+
+<b>fossil</b> can <a href="about_checkout.wiki">overwrite</a> any
+changes you've made to your checkout, or it can
+<a href="about_merge.wiki">merge</a> whatever changes have occurred
+in the repo into your checkout.
+
+Update <em>merges</em> changes from the repository into your checkout.
+
+<b>fossil</b> uses a simple conflict resolution strategy for merges:
+the latest change wins.
+
+Local intranet <code><a href="cmd_commit.wiki">commit</a></code>s
+(by someone else)
+or Net <code><a href="cmd_pull.wiki">pull</a></code>s from a server
+will usually require a <code>fossil&nbsp;update</code> afterward.
+
+Local commits are likely to be made with
+<a href="cmd_settings.wiki#autosync">automatic syncing</a>
+set to "on", however, so if you don't use <b>fossil</b> for Net-wide
+projects you may never have to use <code>update</code>.
 
+See also: <a href="cmd_pull.wiki">fossil pull</a>,
+<a href="cmd_commit.wiki">fossil commit</a>,
+<a href="cmd_settings.wiki#autosync">fossil setting</a> (autosync),
+<i><a href="about_checkout.wiki">checkouts</a></i>,
+<i><a href="about_merge.wiki">merging</a></i>,
+<a href="reference.wiki">Reference</a>