Fossil SCM

Removed manual indents on command examples in the branching doc; the skin does that now.

wyoung 2024-02-18 12:45 trunk
Commit ccd880e435e189ac2f8bcb24b3d5bb5f43783422c60bda9309cd5f5c6032a0e4
1 file changed +5 -5
--- www/branching.wiki
+++ www/branching.wiki
@@ -257,11 +257,11 @@
257257
258258
Fossil offers two primary ways to create named, intentional forks,
259259
a.k.a. branches. First:
260260
261261
<pre>
262
- $ fossil commit --branch my-new-branch-name
262
+$ fossil commit --branch my-new-branch-name
263263
</pre>
264264
265265
This is the method we recommend for most cases: it creates a branch as
266266
part of a check-in using the version in the current checkout directory
267267
as its basis. (This is normally the tip of the current branch, though
@@ -272,13 +272,13 @@
272272
tip check-in on that branch.
273273
274274
The second, more complicated option is:
275275
276276
<pre>
277
- $ fossil branch new my-new-branch-name trunk
278
- $ fossil update my-new-branch-name
279
- $ fossil commit
277
+$ fossil branch new my-new-branch-name trunk
278
+$ fossil update my-new-branch-name
279
+$ fossil commit
280280
</pre>
281281
282282
Not only is this three commands instead of one, the first of which is
283283
longer than the entire simpler command above, you must give the second command
284284
before creating any check-ins, because until you do, your local working
@@ -377,11 +377,11 @@
377377
378378
If your local checkout is on a forked branch, you can usually fix a fork
379379
automatically with:
380380
381381
<pre>
382
- $ fossil merge
382
+$ fossil merge
383383
</pre>
384384
385385
Normally you need to pass arguments to <b>fossil merge</b> to tell it
386386
what you want to merge into the current basis view of the repository,
387387
but without arguments, the command seeks out and fixes forks.
388388
--- www/branching.wiki
+++ www/branching.wiki
@@ -257,11 +257,11 @@
257
258 Fossil offers two primary ways to create named, intentional forks,
259 a.k.a. branches. First:
260
261 <pre>
262 $ fossil commit --branch my-new-branch-name
263 </pre>
264
265 This is the method we recommend for most cases: it creates a branch as
266 part of a check-in using the version in the current checkout directory
267 as its basis. (This is normally the tip of the current branch, though
@@ -272,13 +272,13 @@
272 tip check-in on that branch.
273
274 The second, more complicated option is:
275
276 <pre>
277 $ fossil branch new my-new-branch-name trunk
278 $ fossil update my-new-branch-name
279 $ fossil commit
280 </pre>
281
282 Not only is this three commands instead of one, the first of which is
283 longer than the entire simpler command above, you must give the second command
284 before creating any check-ins, because until you do, your local working
@@ -377,11 +377,11 @@
377
378 If your local checkout is on a forked branch, you can usually fix a fork
379 automatically with:
380
381 <pre>
382 $ fossil merge
383 </pre>
384
385 Normally you need to pass arguments to <b>fossil merge</b> to tell it
386 what you want to merge into the current basis view of the repository,
387 but without arguments, the command seeks out and fixes forks.
388
--- www/branching.wiki
+++ www/branching.wiki
@@ -257,11 +257,11 @@
257
258 Fossil offers two primary ways to create named, intentional forks,
259 a.k.a. branches. First:
260
261 <pre>
262 $ fossil commit --branch my-new-branch-name
263 </pre>
264
265 This is the method we recommend for most cases: it creates a branch as
266 part of a check-in using the version in the current checkout directory
267 as its basis. (This is normally the tip of the current branch, though
@@ -272,13 +272,13 @@
272 tip check-in on that branch.
273
274 The second, more complicated option is:
275
276 <pre>
277 $ fossil branch new my-new-branch-name trunk
278 $ fossil update my-new-branch-name
279 $ fossil commit
280 </pre>
281
282 Not only is this three commands instead of one, the first of which is
283 longer than the entire simpler command above, you must give the second command
284 before creating any check-ins, because until you do, your local working
@@ -377,11 +377,11 @@
377
378 If your local checkout is on a forked branch, you can usually fix a fork
379 automatically with:
380
381 <pre>
382 $ fossil merge
383 </pre>
384
385 Normally you need to pass arguments to <b>fossil merge</b> to tell it
386 what you want to merge into the current basis view of the repository,
387 but without arguments, the command seeks out and fixes forks.
388

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button