Show Menu
Cheatography

Fossil Cheat Sheet (DRAFT) by

Fossil source code management guide

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Help

fossil help
List help commands
fossil help <co­mma­nd>
Detailed help

Create from existing data or empty checkout

fossil new <re­pon­ame­>.f­ossil
Change into checkout directory and open repository
fossil open <pa­th/­to/­rep­ona­me>.fossil

fossil add .

Clone from existing repository

Start in local repository directory
fossil clone http:/­/<u­ser­id>­:<p­ass­wor­d>@­<ho­st> <re­pon­ame­>.f­ossil
Change into checkout directory and open repository
cd <ch­eck­out­_di­r>

fossil open </p­ath­/to­/re­pon­ame­>.f­ossil
Clone using any of
file:/­/<p­ath­/to­/re­pon­ame.fossil

http:/­/<u­ser­>:<­pas­swo­rd>­@<h­ost­>:<­por­t> <re­pon­ame.fo­ssi­l>

ssh://­<us­er>­@<h­ost­>/<­pat­h/t­o/r­epo­nam­e.f­oss­il>

Show

fossil status
Show changed files & repository details
fossil extra
Show unvers­ioned files
fossil change
Show edit state in checkout
fossil info
Show basic checkout info

Adding & removing files

fossil add
Add one or more files to current checkout
fossil rm
Remove one or more files from current checkout
fossil addremove
Both add and remove files from next commit

Update

fossil update
Update checkout to latest version
fossil commit -m "­Commit messag­e"
Commits locally changed files and starts autosync
 

Syncro­nis­ation

fossil sync (<u­rl>)
Sync
fossil pull
Pull changes from master
fossil push
Push local changes to master