git-annex-assist(1)
π NAME π
okay bestie, welcome to git-annex-assist(1), straight outta the General Commands Manual β¨ and here's the whole plot: git-annex-assist β add files and sync changes with remotes. that's it. that's the girl. π
π¦ SYNOPSIS π¦
git annex assist [remote ...]
β¨ DESCRIPTION β¨
so this command? it assists you β iconic name, no notes β with checking files into the repository and syncing with remotes. it is literally the simplest possible way to use git-annex at the command line, because it's the only one command you need to run on a regular basis. one. command. periodt. π
here's the flow, step by step, no cap:
- it first adds any new files to the repository, and commits those β plus any modified files too. slay.
- then it does the equivalent of running [[
git-annex-pull]](1) followed bygit-annex-push(1). so pull then push, back to back, like a lil routine. π₯
important vibe check: this command operates on all files in the whole working tree, even when you run it from inside a subdirectory. like, it does not care where you're standing. if you wanna limit it to just the files in one subdirectory, you gotta use the --content-of option. π«Ά
and if you want to block some files from being added to the repository at all? use .gitignore files. classic. π
by default, every file that gets added goes into the annex β same as when you run git annex add. but if you configure annex.largefiles, then any file that doesn't match it gets added with git add instead. fancy. β¨
π OPTIONS π
--message=msg,-m msgβ use this one to specify a commit message. and if you give multiple-moptions, their values get concatenated as separate paragraphs. like a lil essay. π--content-of=path,-C pathβ only add, pull, and push files in the given path. this option can be repeated multiple times with different paths, so go off. π- also, all options supported by
git-annex-pull(1) andgit-annex-push(1) can be used. so many options. obsessed. π - also the
git-annex-common-options(1) can be used. π§
πΈ SEE ALSO πΈ
git-annex(1)git-annex-add(1)git-annex-pull(1)git-annex-push(1)git-annex-sync(1)git-annex-assistant(1)
π AUTHOR π
Joey Hess <id@joeyh.name> β yeah, the author, the moment, the legend. π«Ά
and that's the whole page bestie!! this was git-annex-assist(1) from the General Commands Manual (section 1 energy π) β the footer is just the page name again, so nothing extra to spill. go run git annex assist and be free. β¨ππ
π¦ 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