git-annex-updateproxy(1)
π git-annex-updateproxy β the glow-up your proxy config deserves
okay bestie, welcome to the git-annex-updateproxy(1) page from the General Commands Manual, and honestly? it's giving "quiet little command that does one specific thing extremely well". let's get into it π
β¨ NAME β¨
git-annex-updateproxy β update records with proxy configuration
πΈ SYNOPSIS πΈ
git annex updateproxy
that's it. that's the whole vibe. no flags, no drama, just run it π
π¦ DESCRIPTION π¦
so here's the tea β β a git-annex repository can act as a proxy for its remotes. that means annexed content can be stored and removed from the proxy's remotes by repositories that do not have a direct connection to those remotes. the proxy is basically the main character doing the introvert friends a solid π«Ά
By default, no proxying is done. nope, zero, nada, the proxy era has not begun. to configure the local repository to act as a proxy for its remote named "foo", run:
git config remote.foo.annex-proxy true
After setting or unsetting remote.<name>.annex-proxy git configurations, run git-annex updateproxy to record the proxy configuration in the git-annex branch. that's the step that tells other repositories about the proxy configuration β like posting it in the group chat so everyone knows what's up π£
Suppose, for example, that remote "work" has had this command run in it. Then after pulling from "work", git-annex will know about an additional remote, "work-foo". That remote will be accessed using "work" as a proxy. not me casually spawning a whole new remote through a pull π iconic behavior honestly.
Proxies can only be accessed via ssh or by an annex+http url. that's the vibe check, no other doors are open πͺβ¨
To set up proxying to a special remote that is configured with exporttree=yes, its necessary for it to also be configured with annexobjects=yes. And, remote.<name>.annex-tracking-branch needs to be configured to the branch that will be exported to the special remote. When that branch is pushed to the proxy, it will update the tree exported to the special remote. When files are copied to the remote via the proxy, it will also update the exported tree. so many moving parts but they all slay in harmony π
Note that proxying for a special remote can temporarily use disk space in the repository, to temporarily hold the content of annexed files. yes bestie, it needs a lil scratch space for a sec. it's temporary, it's fine, it's just how the magic works πΎ
π OPTIONS π
- The
git-annex-common-options(1)can be used. so like, the usual suspects apply, no cap π
π SEE ALSO π
π AUTHOR π
Joey Hess <id@joeyh.name> β the legend, the blueprint, the moment fr fr π«Ά
and that's the page bestie!! this whole thing lives in the General Commands Manual, and the footer on the original is literally just git-annex-updateproxy(1) β same name, same manual, no extra date energy attached π anyway ily, go configure your proxies, mwah πβ¨
π¦ 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
- debian trixie: git-annex 10.20250416-2 Β· AGPL-3.0-or-later
- debian trixie: git-annex 10.20250416-2+deb13u1 Β· AGPL-3.0-or-later
- epel 10: git-annex 10.20250320-1.el10_0 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250630-4.fc43 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250929-5.fc43 Β· AGPL-3.0-or-later
- fedora 44: git-annex 10.20260115-1.fc44 Β· AGPL-3.0-or-later
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- ubuntu questing: git-annex 10.20250721-1
- ubuntu resolute: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- ubuntu stonking: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms