fossil.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Nov 2020 14:37:48 +0200
changeset 2469 d6eb5318b6ff
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Automatically Configuring WSL.

.. -*- coding: utf-8; -*-

=============
 Fossil DVCS
=============
.. contents::
   :local:

Simple work flow
================
::

  $ mkdir proj
  $ cd proj
  $ fossil new proj
  project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92
  server-id:  2a7bacb2b49cd97e71753697f7e116fda9fc199c
  admin-user: user (initial password is "f8362e")
  $ ls .
  proj
  $ fossil open proj
  $ ls .
  _FOSSIL_
  proj
  $ touch hello.c
  $ fossil add hello.c
  ADDED  hello.c
  $ fossil ci -m init
  New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107
  $ echo "#define TRUE 1" >>hello.c
  $ fossil diff
  ...
  $ fossil status
  ...
  $ fossil ci -m "fixed bug"
  ...
  $ fossil timeline
  ...
  $ fossil leaves
  ...
  $ fossil ls
  hello.c
  $ fossil branch list
  === 2010-10-12 ===
  10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk)