Updating your local fossil repository
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.
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 with the fossil update
command:
$ fossil update UPDATE main.tcl ------------------------------------------------------------------- ------------ updated-to: 47c85d29075b25aa0d61f39d56f61f72ac2aae67 2016-12-20 17:35...