Artifact Content
Not logged in

Artifact 111bb821006042fe5430ffcfc5d05afdd8d675ed

File www/cmd_sync.wiki part of check-in [51868cb12f] - Changed update docs, ** ADDED A _SPECIAL_ (but MUTYPE_BLOCK) wikitag <annotation> to put html comments in wikimarkup by kkennell on 2009-01-30 21:18:10.

sync

The sync command pulls and pushes repository changes simultaneously.

This applies to repositories available via a URL, of course. If your project is strictly local you can do all of the distributed stuff as long as you are "serving" the repository via http in some fashion, but it's probably pointless to do so.

Assuming you aren't running fossil as a high-powered version of RCS, your use of sync in your projects is up to you. fossil defaults to using a setting of autosync If you have cloned a repository you will automatically sync with the original if you commit changes to your local version unless you customize your configuration.

See also: fossil pull, fossil push, fossil setting, branching, merging, forking and tagging, Reference