The flip side of pushing your work to the remote repository is updating your local repository. You'll need to do this if you do some development on your laptop while the main repository is on your companies server, or if you are working on a project with multiple people and you need to keep up to date on their new features.
Updating your local fossil repository
How to do it...
The fossil server does not push updates to remote repositories automatically. The fossil pull command will pull updates to your repository. It updates the repository, but does not change your working code:
$ fossil pull
The fossil checkout command will update your working code if there were changes in the repository:
$ fossil checkout
You can combine the pull and checkout subcommands...