1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<h2>Command Line Interface Reference</h2>
This is an easy introduction to the fossil command line interface (cli).
It assumes some familiarity with using the command line, and with Source
Code Maintenence (SCM) systems—but not <i>too</i> much.
If you are trying to find information about fossil's web capabilities,
see the <a href="index.wiki">Fossil Home</a> and
<a href="wikitheory.wiki">Fossil Wiki</a> pages for pointers.
<h3>Things to note</h3>
* Fossil cli commands do not use special delimeters, they use spaces.
This is traditional with VCS/SCM. Some <i>options</i> to fossil commands
<i>do</i> use special delimiters, particularly the '-' (hyphen, or dash)
character. This is very similar to Tcl. Think of fossil as a shell you
invoke and feed a command to, including any options, and it will make
more sense.
* Any fossil command is acceptable once enough of it has been
entered to make the intent unambiguous. 'clo' is a proper prefix of
both the 'clone' and 'close' commands, for instance, but 'clon' is
enough to make the intent—the 'clone' command—unambiguous.
* A <u>version</u> in <b>fossil</b> is 40 character hexadecimal string.
<b>fossil</b> will be able to figure out which version you want with any
prefix of that string that is distinct from all others. <em>Commands
which require a version are looking for that string, the unique prefix,
or a <code>tag</code>.</em>
You should probably start interacting with fossil at the command line
by asking it what it can do: <a name="tof">ˆ</a>
<code>$ fossil help</code><nowiki><pre>
Usage: fossil help COMMAND.
Available COMMANDs:</pre><table width="80%" style="font-family: fixed, courier, monospace; ">
<tr>
<td><a href="#add">add</a>*</td>
<td><a href="#configure">configuration</a></td>
<td><a href="#leaves">leaves</a></td>
<td><a href="#redo">redo</a></td>
<td><a href="#timeline">timeline</a></td>
</tr>
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
>
|
>
|
|
|
>
|
|
>
|
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<h2>Command Line Interface Reference</h2>
This is an easy introduction to the fossil command line interface
(cli). It assumes some familiarity with using the command line, and
with Source Code Maintenence (SCM) systems—but not <i>too</i>
much.
If you are trying to find information about fossil's web
capabilities, see the <a href="index.wiki">Fossil Home</a> and
<a href="wikitheory.wiki">Fossil Wiki</a> pages for pointers.
<h3>Things to note</h3>
* Fossil cli commands do not use special delimeters, they use
spaces. This is traditional with VCS/SCM. Some <i>options</i> to
fossil commands <i>do</i> use special delimiters, particularly the
'-' (hyphen, or dash) character. This is very similar to Tcl.
Think of fossil as a shell you invoke and feed a command to,
including any options, and it will make more sense.
* Any fossil command is acceptable once enough of it has been
entered to make the intent unambiguous. 'clo' is a proper prefix of
both the 'clone' and 'close' commands, for instance, but 'clon' is
enough to make the intent—the 'clone'
command—unambiguous.
* Pragmatically, a <u>version</u> in <b>fossil</b> is a
40-character long string of hexadecimal. <b>fossil</b> will be
able to figure out which version you want with any
<i>distinct</i> prefix of that string which is at least four
characters long. <em>Commands which require a version are
looking for the string, a distinct prefix of the string, or a
<code>tag</code>.</em>
You should probably start interacting with fossil at the command
line by asking it what it can
do: <a name="tof">ˆ</a>
<code>$ fossil help</code><nowiki><pre>
Usage: fossil help COMMAND.
Available COMMANDs:</pre><table width="80%"
style="font-family: fixed, courier, monospace;">
<tr>
<td><a href="#add">add</a>*</td>
<td><a href="#configure">configuration</a></td>
<td><a href="#leaves">leaves</a></td>
<td><a href="#redo">redo</a></td>
<td><a href="#timeline">timeline</a></td>
</tr>
|
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
<tr>
<td><a href="#commit">commit</a></td>
<td><a href="#info">info</a></td>
<td><a href="#reconstruct">reconstruct</a></td>
<td><a href="#tag">tag</a></td>
</tr>
</table><nowiki><pre>
This is fossil version [ba837fd294] 2008-12-16 18:39:29 UTC
</pre>
<b>What follows</b> is a survey of what you get if you type<code>
fossil help <i>command</i> </code>for all of the
commands listed above. There are links to individual pages for each
of them; pages with content (commands marked with a '*' are done) go
into the reason for a command in a bit more depth than the program help.
<pre>
|
|
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
<tr>
<td><a href="#commit">commit</a></td>
<td><a href="#info">info</a></td>
<td><a href="#reconstruct">reconstruct</a></td>
<td><a href="#tag">tag</a></td>
</tr>
</table><nowiki><pre>
This is fossil version [b12a031557] 2008-12-26 17:41:09 UTC
</pre>
<b>What follows</b> is a survey of what you get if you type<code>
fossil help <i>command</i> </code>for all of the
commands listed above. There are links to individual pages for each
of them; pages with content (commands marked with a '*' are done) go
into the reason for a command in a bit more depth than the program help.
<pre>
|
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
|
The "ui" command automatically starts a web browser after initializing
the web server.
<hr><a href="#tof">ˆ</a>
COMMAND: settings
COMMAND: unset
<a name="setting">Usage: </a><a href="cmd_setting.wiki">fossil setting</a> ?PROPERTY? ?VALUE? ?-global? fossil unset PROPERTY ?-global?
The "setting" command with no arguments lists all properties and their
values. With just a property name it shows the value of that property.
With a value argument it changes the property for the current repository.
The "unset" command clears a property setting.
autosync If enabled, automatically pull prior to
commit or update and automatically push
after commit or tag or branch creation.
diff-command External command to run when performing a diff.
If undefined, the internal text diff will be used.
editor Text editor command used for check-in comments.
gdiff-command External command to run when performing a graphical
diff. If undefined, text diff will be used.
localauth If enabled, require that HTTP connections from
127.0.0.1 be authenticated by password. If
false, all HTTP requests from localhost have
unrestricted access to the repository.
clearsign When enabled (the default), fossil will attempt to
sign all commits with gpg. When disabled, commits will
be unsigned.
pgp-command Command used to clear-sign manifests at check-in.
The default is "gpg --clearsign -o ".
proxy URL of the HTTP proxy. If undefined or "off" then
the "http_proxy" environment variable is consulted.
If the http_proxy environment variable is undefined
then a direct HTTP connection is used.
web-browser A shell command used to launch your preferred
web browser when given a URL as an argument.
Defaults to "start" on windows, "open" on Mac,
and "firefox" on Unix.
<hr><a href="#tof">ˆ</a>
<a name="status">Usage: </a><a href="cmd_status.wiki">fossil status</a>
Report on the status of the current checkout.
<hr><a href="#tof">ˆ</a>
<a name="sync">Usage: </a><a href="cmd_sync.wiki">fossil sync</a> ?URL? ?-R|--repository REPOSITORY?
|
|
>
|
|
|
|
|
|
>
>
>
|
|
|
|
|
|
|
|
|
|
|
>
>
>
|
|
|
|
|
|
|
|
|
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
|
The "ui" command automatically starts a web browser after initializing
the web server.
<hr><a href="#tof">ˆ</a>
COMMAND: settings
COMMAND: unset
<a name="setting">Usage: </a><a href="cmd_setting.wiki">fossil setting</a> ?PROPERTY? ?VALUE? ?-global?
fossil unset PROPERTY ?-global?
The "setting" command with no arguments lists all properties and their
values. With just a property name it shows the value of that property.
With a value argument it changes the property for the current repository.
The "unset" command clears a property setting.
autosync If enabled, automatically pull prior to
commit or update and automatically push
after commit or tag or branch creation.
diff-command External command to run when performing a diff.
If undefined, the internal text diff will be used.
editor Text editor command used for check-in comments.
http-port The TCP/IP port number to use by the "server"
and "ui" commands. Default: 8080
gdiff-command External command to run when performing a graphical
diff. If undefined, text diff will be used.
localauth If enabled, require that HTTP connections from
127.0.0.1 be authenticated by password. If
false, all HTTP requests from localhost have
unrestricted access to the repository.
clearsign When enabled (the default), fossil will attempt to
sign all commits with gpg. When disabled, commits will
be unsigned.
pgp-command Command used to clear-sign manifests at check-in.
The default is "gpg --clearsign -o ".
mtime-changes Use file modification times (mtimes) to detect when
files have been modified.
proxy URL of the HTTP proxy. If undefined or "off" then
the "http_proxy" environment variable is consulted.
If the http_proxy environment variable is undefined
then a direct HTTP connection is used.
web-browser A shell command used to launch your preferred
web browser when given a URL as an argument.
Defaults to "start" on windows, "open" on Mac,
and "firefox" on Unix.
<hr><a href="#tof">ˆ</a>
<a name="status">Usage: </a><a href="cmd_status.wiki">fossil status</a>
Report on the status of the current checkout.
<hr><a href="#tof">ˆ</a>
<a name="sync">Usage: </a><a href="cmd_sync.wiki">fossil sync</a> ?URL? ?-R|--repository REPOSITORY?
|