git-annex-watch(1)
π git-annex-watch(1) π
okay bestie, this is a page from the General Commands Manual β it's the git-annex-watch one, and it's about to become your new fave little background gremlin π¦
β¨ NAME β¨
git-annex-watch β daemon to watch for changes π
πΈ SYNOPSIS πΈ
git annex watch
π DESCRIPTION π
So basically: this thing watches for changes to the files in the current directory and all its subdirectories, and it takes care of automatically adding new files for you β plus it deals with deleted, copied, and moved files. the way that it justβ¦ handles it?? π
once you've got this running as a daemon in the background, you literally no longer need to manually run git commands when you're manipulating your files. it's giving personal assistant. it's giving main character energy for your repo π
by default, all new files in the directory get added to the repository. (yes, including dotfiles, don't @ me π) if you want to block some files from being added, use .gitignore files. simple as that.
also by default, every file that gets added is added to the annex β same as when you run git annex add. but!! if you configure annex.largefiles, then any files that it does not match will instead be added with git add. so you get to be picky about which ones go where β¨
π OPTIONS π
--foregroundβ avoid forking to the background. like, stay right here with me bestie π«Ά--stopβ stop a running daemon in the current repository. bye bye daemon, you served π
also, the git-annex-common-options(1) can be used too, so go peek at those if you need more knobs to turn π
π SEE ALSO π
π AUTHOR π
Joey Hess <id@joeyh.name>
fr fr, that's the whole page β no cap, every single flag and file path stayed exactly where it was π
and that's a wrap on git-annex-watch(1), straight out of the git-annex manual β go forth and let the daemon do the boring stuff for you, 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
- 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 noble: git-annex 10.20240129-1build1 Β· AGPL-3.0-or-later
- 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