Overview
SHA1 Hash: | c8b86eae78bba296401f5153c8c34462b280fe5e |
---|---|
Date: | 2009-01-07 22:45:17 |
User: | kejoki |
Comment: | adjust reference.wiki &c. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified www/cmd_checkout.wiki from [3f2d8a2849] to [879d69a87c].
@@ -41,6 +41,10 @@ See also [./cmd_tag.wiki | fossil tag], [./cmd_revert.wiki | fossil revert], [./cmd_update.wiki | fossil update], [./cmd_push.wiki | fossil push], [./cmd_pull.wiki | fossil pull], +[./cmd_clone.wiki | fossil clone], +[./cmd_open.wiki | fossil open], +[./cmd_close.wiki | fossil close], +[./cmd_new.wiki | fossil new], [./reference.wiki | Reference]
Modified www/reference.wiki from [5d24ccb336] to [7d4a75f8fe].
@@ -1,40 +1,46 @@ <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 + 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 + * 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> + 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; "> +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> @@ -100,11 +106,11 @@ <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 +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 @@ -410,51 +416,58 @@ 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? + <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. + 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.