tip479

Help: clone
Login

The "clone" command:

Usage: fossil clone ?OPTIONS? URI FILENAME

Make a clone of a repository specified by URI in the local
file named FILENAME.

URI may be one of the following form: ([...] mean optional)
  HTTP/HTTPS protocol:
    http[s]://[userid[:password]@]host[:port][/path]

  SSH protocol:
    ssh://[userid@]host[:port]/path/to/repo.fossil\
    [?fossil=path/to/fossil.exe]

  Filesystem:
    [file://]path/to/repo.fossil

Note 1: For ssh and filesystem, path must have an extra leading
        '/' to use an absolute path.

Note 2: Use %HH escapes for special characters in the userid and
        password.  For example "%40" in place of "@", "%2f" in place
        of "/", and "%3a" in place of ":".

By default, your current login name is used to create the default
admin user. This can be overridden using the -A|--admin-user
parameter.

Options:
   --admin-user|-A USERNAME   Make USERNAME the administrator
   --nocompress               Omit extra delta compression
   --once                     Don't remember the URI.
   --private                  Also clone private branches
   --ssl-identity FILENAME    Use the SSL identity if requested by the server
   --ssh-command|-c SSH       Use SSH as the "ssh" command
   --httpauth|-B USER:PASS    Add HTTP Basic Authorization to requests
   -u|--unversioned           Also sync unversioned content
   -v|--verbose               Show more statistics in output

See also: init