603
|
1 |
-*- mode: outline -*-
|
|
2 |
|
|
3 |
* Simple work flow.
|
|
4 |
|
|
5 |
$ mkdir proj
|
|
6 |
$ cd proj
|
|
7 |
$ fossil new proj
|
|
8 |
project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92
|
|
9 |
server-id: 2a7bacb2b49cd97e71753697f7e116fda9fc199c
|
|
10 |
admin-user: user (initial password is "f8362e")
|
|
11 |
$ ls .
|
|
12 |
proj
|
|
13 |
$ fossil open proj
|
|
14 |
$ ls .
|
|
15 |
_FOSSIL_
|
|
16 |
proj
|
|
17 |
$ touch hello.c
|
|
18 |
$ fossil add hello.c
|
|
19 |
ADDED hello.c
|
|
20 |
$ fossil ci -m init
|
|
21 |
New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107
|
|
22 |
$ echo "#define TRUE 1" >>hello.c
|
|
23 |
$ fossil diff
|
|
24 |
...
|
|
25 |
$ fossil status
|
|
26 |
...
|
|
27 |
$ fossil ci -m "fixed bug"
|
|
28 |
...
|
|
29 |
$ fossil timeline
|
|
30 |
...
|
|
31 |
$ fossil leaves
|
|
32 |
...
|
|
33 |
$ fossil ls
|
|
34 |
hello.c
|
|
35 |
$ fossil branch list
|
|
36 |
=== 2010-10-12 ===
|
|
37 |
10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk)
|