git-annex-disableremote(1)

git-annex-disableremote1

Stop using a remote

Usage

git annex disableremote name

Overview

This removes the remote from the local git configuration, the same as git remote remove would. It removes remote tracking branches. It also cleans up various other files in .git/annex/ that belong to or mention the remote.

This does not prevent the same special remote from continuing to be used in other clones of the repository, and it can be re-enabled for local use with the git-annex enableremote command.

When git-annex initremote --private was used to initialize a private remote, disabling it also removes its information from the private journal.

Options

--json

Enable JSON output. This is intended to be parsed by programs that use git-annex.

--json-error-messages

Messages that would normally be output to standard error are included in the JSON instead.

Also, the git-annex-common-options(1) can be used.

Author

Joey Hess <[email protected]>

From git-annex 10.20261026-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.