Differences From:
File
www/faq.wiki
part of check-in
[627de3bf16]
- Documentation updates: Added FAQ and testimonials.
by
drh on
2009-01-25 21:16:55.
[view]
To:
File
www/faq.wiki
part of check-in
[7a2c37063a]
- merge trunk into creole branch
by
bob on
2009-09-22 07:49:39.
Also file
www/faq.wiki
part of check-in
[713b8be852]
- Deleted some obsolete "todo" files. Updated the FAQ. Modified the the
"vinfo" page to show check-in differences and made "vinfo" the default
display for check-ins instead of "vdiff".
by
drh on
2009-08-28 22:59:27.
[view]
@@ -1,4 +1,5 @@
+<title>Fossil FAQ</title>
<h1 align="center">Frequently Asked Questions</h1>
<p>Note: See also <a href="qandc.wiki">Questions and Criticisms</a>.
@@ -7,8 +8,10 @@
<li><a href="#q2">What is the difference between a "branch" and a "fork"?</a></li>
<li><a href="#q3">How do I create a new branch in fossil?</a></li>
<li><a href="#q4">How do I create a private branch that won't get pushed back to the
main repository.</a></li>
+<li><a href="#q5">How can I delete inappropriate content from my fossil repository?</a></li>
+<li><a href="#q6">How do I make a clone of the fossil self-hosting repository?</a></li>
</ol>
<hr>
<a name="q1"></a>
<p><b>(1) What GUIs are available for fossil?</b></p>
@@ -65,12 +68,49 @@
<a name="q4"></a>
<p><b>(4) How do I create a private branch that won't get pushed back to the
main repository.</b></p>
-<blockquote>You cannot. All branches in fossil are public in the sense that
-are all pushed and pulled together. There is no way to tell fossil
-to only push or pull a subset of branches.
+<blockquote>Use the <b>--private</b> command-line option on the
+<b>commit</b> command. The result will be a check-in which exists on
+your local repository only and is never pushed to other repositories.
+All descendents of a private check-in are also private.
+
+Unless you specify something different using the <b>--branch</b> and/or
+<b>--bgcolor</b> options, the new private check-in will be put on a branch
+named "private" with an orange background color.
+
+You can merge from the trunk into your private branch in order to keep
+your private branch in sync with the latest changes on the trunk. Once
+you have everything in your private branch the way you want it, you can
+then merge your private branch back into the trunk and push. Only the
+final merge operation will appear in other repositories. It will seem
+as if all the changes that occurred on your private branch occurred in
+a single check-in.
+Of course, you can also keep your branch private forever simply
+by not merging the changes in the private branch back into the trunk.</blockquote></li>
+
+<a name="q5"></a>
+<p><b>(5) How can I delete inappropriate content from my fossil repository?</b></p>
+
+<blockquote>See the article on [./shunning.wiki | "shunning"] for details.</blockquote></li>
+
+<a name="q6"></a>
+<p><b>(6) How do I make a clone of the fossil self-hosting repository?</b></p>
-Of course, as long as you never push, you can make as many private
-changes as you want.</blockquote></li>
+<blockquote>Any of the following commands should work:
+<blockquote><pre>
+fossil clone http://www.fossil-scm.org/ fossil.fossil<br>
+fossil clone http://www2.fossil-scm.org/ fossil.fossil<br>
+fossil clone http://www.hwaci.com/cgi-bin/fossil fossil.fossil
+</pre></blockquote>
+Once you have the repository cloned, you can open a local check-out
+as follows:
+<blockquote><pre>
+mkdir src; cd src; fossil open ../fossil.fossil
+</pre></blockquote>
+Thereafter you should be able to keep your local check-out up to date
+with the latest code in the public repository by typing:
+<blockquote><pre>
+fossil update
+</pre></blockquote></blockquote></li>
</ol>