git-annex-disableremote(1)
π git-annex-disableremote
okay so real talk bestie, this is the git-annex-disableremote(1) page from the git-annex General Commands Manual β she's a little one but she's important, so let's get into it β¨
πΈ NAME πΈ
git-annex-disableremote β stop using a remote
like, breaking up with a remote. it's not me, it's you, etc π
π SYNOPSIS π
git annex disableremote name
that's it. one name. she's low maintenance.
π¦ DESCRIPTION π¦
okay so here's the tea β β this command removes the remote from the local git configuration, literally the exact same thing git remote remove would do. no cap.
but wait, there's more:
- it removes remote tracking branches π«Ά
- it also cleans up various other files in
.git/annex/that belong to or mention the remote π§Ήβ¨
so it's giving full glow-up, not just a surface-level edit.
π important caveat though: this does NOT prevent the same special remote from continuing to be used in other clones of the repository. so don't think you've deleted the remote from existence β you haven't. she's still out there living her life in other clones, iykyk.
and the good news? you can re-enable it for local use with the git-annex enableremote command π it's giving "we can still be friends."
also! if git-annex initremote --private was used to initialize a private remote, disabling it also removes its information from the private journal πβ¨ so yeah, that part is gone-gone.
β¨ OPTIONS β¨
--jsonβ Enable JSON output. this one's for the programs, not for you β it's intended to be parsed by programs that use git-annex π€π--json-error-messagesβ messages that would normally be output to standard error get included in the JSON instead π so nothing gets lost, it just relocates.
and also β the git-annex-common-options(1) can be used π so go check that out if you want the full menu.
π₯ SEE ALSO π₯
the whole remote-management friend group honestly π
π AUTHOR π
Joey Hess <id@joeyh.name> β the icon, the legend, the main character π
and that's the page!! π this was git-annex-disableremote(1) from the git-annex General Commands Manual, version info living in its own footer, dated whenever the manpage says it is β slay, go disable that remote bestie π
β¨π¦
π¦ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 Β· AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 Β· AGPL-3.0-only
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms