fossil.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 603 163bb1e892b6
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
603
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
-*- mode: outline -*-
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
* Simple work flow.
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
  $ mkdir proj
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
  $ cd proj
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
  $ fossil new proj
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
server-id:  2a7bacb2b49cd97e71753697f7e116fda9fc199c
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
admin-user: user (initial password is "f8362e")
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
  $ ls .
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
proj
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
  $ fossil open proj
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
  $ ls .
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
_FOSSIL_
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
proj
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
  $ touch hello.c
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
  $ fossil add hello.c
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
ADDED  hello.c
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
  $ fossil ci -m init
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
  $ echo "#define TRUE 1" >>hello.c
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
  $ fossil diff
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
...
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
  $ fossil status
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
...
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
  $ fossil ci -m "fixed bug"
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
...
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
  $ fossil timeline
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
...
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
  $ fossil leaves
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
...
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
  $ fossil ls
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
hello.c
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
  $ fossil branch list
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
=== 2010-10-12 ===
163bb1e892b6 About fossil.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk)