Wiki page
[fossil-tutorial] by
mario
2017-09-23 07:44:44.
D 2017-09-23T07:44:44.179
L fossil-tutorial
N text/x-markdown
U mario
W 1675
* See [http://www.fossil-scm.org/](http://www.fossil-scm.org/) and [Quick Start](http://www.fossil-scm.org/index.html/doc/trunk/www/quickstart.wiki) for a better intro.
### Download a ZIP
If you just want some code, use the <a href="zip/ClickyColoury.zip?uuid=trunk" class="button white">⇛ ZIP download</a> button.
### Clone this repository
Once you have fossil.exe installed however, it becomes quite trivial to work with the repository:
fossil clone http://fossil.include-once.org/clickycoloury/ clicky.fossil
# ↑ ↑ ↑
# action URL target repo file
Then you can open (=expands files from trunk) that repository:
fossil open clicky.fossil
And lastly invoke the server and your browser:
fossil ui
That would give you a local copy of what you see here.
### Commiting and stuff
Now that you have a working checked, you can edit files to your liking. Your changes will be reflected as soon as you commit them:
fossil ci modules/wpf.psm1
Or add new ones of course:
fossil add tools/beta/newscript.ps1
fossil ci
### Syncing and sharing.
Unlike GIT, sharing code is not some arcane merging and pulling andwhathaveyou. Fossil is optimized for more practical and realistic scenarious with a couple of developers and a shared repository:
fossil sync http://fossil.include-once.org/clickycoloury/
And simply updating changes from others:
fossil up
Btw, if you want commit access here; just ask. (Little risk. Don't worry. Fossil does not allow history corruption.)
Z 79add98ec2556574fe2e230b96a8c78b