Fossil

Check-in [85c6542a16]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update the FAQ to describe the new --private option on the commit command.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 85c6542a1614069f5c2f1279b07a65fb0c4f1fb1
User & Date: drh 2009-08-26 18:40:07.000
Context
2009-08-26
19:50
More FAQ updates. Add the document on "shunning". check-in: d6b8b5ba73 user: drh tags: trunk
18:40
Update the FAQ to describe the new --private option on the commit command. check-in: 85c6542a16 user: drh tags: trunk
18:25
Add the --private option to the "fossil commit" command. This option creates a private branch which is never pushed. check-in: 02a584f7f5 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/faq.wiki.
62
63
64
65
66
67
68
69


70
71



72







73

74
75
76
the name of your new branch to the right and press the "Apply Changes"
button.</blockquote></li>

<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.











Of course, as long as you never push, you can make as many private

changes as you want.</blockquote></li>

</ol>







|
>
>
|
|
>
>
>

>
>
>
>
>
>
>
|
>
|


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
the name of your new branch to the right and press the "Apply Changes"
button.</blockquote></li>

<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>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 appear
as if all the changes that occurred on your private branch occurred in
a single check-in.
Of course, you can also keep your private branch private forever simply
by not merging the changes in the private branch back into the trunk.
</blockquote></li>

</ol>