Interface SyncOptions

SyncOptions defines the supported options for the git-annex sync command.

Hierarchy

Properties

--all?: null

Requests all available versions of files be synced.

--allow-unrelated-histories?: null

Controls whether to merge histories that do not share a common ancestor. See also --no-allow-unrelated-histories.

--backend?: string

Specifies the key-value backend to use when adding files, or when importing from a special remote. Method GitAnnexAPI.getBackends obtains a list of backend names.

--cleanup?: null

Removes the local and remote synced/ branches created and pushed by git-annex sync.

--commit?: null

The complement of --no-commit.

--content?: null

Causes the content of annexed files to also be uploaded and downloaded as necessary. See also --no-content.

--content-of?: string | string[]

Limits the transferred files to the specified relative paths. If specified, helper function gitPath or gitPaths is called internally.

--debug?: null

Displays debug messages.

--debugfilter?: string | string[]

Shows debug messages coming from a module.

--explain?: null

Displays explanations of what git-annex takes into account when deciding what to do.

--fast?: null

Avoids slow operations normally performed by a command.

--force?: null

Allows actions that may lose annexed data

--jobs?: string | number

Specifies the number of cores to use for synchronizing multiple files in parallel.

--message?: string

Specifies the commit message.

--mincopies?: string | number

Overrides the mincopies setting.

--no-allow-unrelated-histories?: null

The complement of --allow-unrelated-histories.

--no-commit?: null

Avoids committing local changes. See also --commit.

--no-content?: null

The complement of --content.

--no-debug?: null

Prevents debug message display.

--no-pull?: null

Disables all pulling. See also --pull.

--no-push?: null

Disables all pushing. See also --push.

--no-resolvemerge?: null

Disables automatic merge conflict resolution. See also --resolvemerge.

--not-only-annex?: null

The complement of --only-annex.

--numcopies?: string | number

Overrides the numcopies setting.

--only-annex?: null

Syncs only the git-annex branch and annexed content, not other Git branches. See also --not-only-annex.

--pull?: null

The complement of --no-pull.

--push?: null

The complement of --no-push.

--quiet?: null

Suppresses verbose output.

--resolvemerge?: null

The complement of --no-resolvemerge.

--size-limit?: string

Limits the total size of annexed files a git-annex command can process.

--time-limit?: string

Limits the duration of a git-annex command.

--verbose?: null

Enables verbose display.

-c?: [string, string] | [string, string][]

Overrides Git configuration settings.