Cheatography
https://cheatography.com
Fossil source code management guide
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Help
|
List help commands |
|
Detailed help |
Create from existing data or empty checkout
fossil new <reponame>.fossil
|
Change into checkout directory and open repository |
fossil open <path/to/reponame>.fossil
fossil add .
|
Clone from existing repository
Start in local repository directory |
fossil clone http://<userid>:<password>@<host> <reponame>.fossil
|
Change into checkout directory and open repository |
cd <checkout_dir>
fossil open </path/to/reponame>.fossil
|
Clone using any of
file://<path/to/reponame.fossil
http://<user>:<password>@<host>:<port> <reponame.fossil>
ssh://<user>@<host>/<path/to/reponame.fossil>
Show
|
Show changed files & repository details |
|
Show unversioned files |
|
Show edit state in checkout |
|
Show basic checkout info |
Adding & removing files
|
Add one or more files to current checkout |
|
Remove one or more files from current checkout |
|
Both add and remove files from next commit |
Update
|
Update checkout to latest version |
fossil commit -m "Commit message"
|
Commits locally changed files and starts autosync |
|
|
Syncronisation
|
Sync |
|
Pull changes from master |
|
Push local changes to master |
|
|
|