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:
- Always autosync for command where autosync makes sense ("commit", "merge", "open", "update")
- Never autosync.
- Only to pull autosyncs
- Autosync for most commands, but not for "open"
- 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.