CmdArgs

Help: autosync
Login

The "autosync" setting:

This setting determines when autosync occurs. The setting is a string that provides a lot of flexibility for determining when and when not to autosync. Examples:
on
Always autosync for command where autosync makes sense ("commit", "merge", "open", "update")

off
Never autosync.

pullonly
Only to pull autosyncs

all
Sync with all remotes

on,open=off
Autosync for most commands, but not for "open"

off,commit=pullonly
Do not autosync, except do a pull before each "commit", presumably to avoid undesirable forks.

The syntax is a comma-separated list of VALUE and COMMAND=VALUE entries. A plain VALUE entry is the default that is used if no COMMAND matches. Otherwise, the VALUE of the matching command is used.