Fossil

Diff
Login

Differences From Artifact [4f2f594a41]:

To Artifact [7adf59141f]:


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>