git-annex-watch(1)

git-annex-watch1

Daemon to watch for changes

Usage

git annex watch

Overview

Watches for changes to files in the current directory and its subdirectories, and takes care of automatically adding new files, as well as dealing with deleted, copied, and moved files. With this running as a daemon in the background, you no longer need to manually run git commands when manipulating your files.

By default, all new files in the directory will be added to the repository. (Including dotfiles.) To block some files from being added, use .gitignore files.

By default, all files that are added are added to the annex, the same as when you run git annex add. If you configure annex.largefiles, files that it does not match will instead be added with git add.

Options

--foreground

Avoid forking to the background.

--stop

Stop a running daemon in the current repository.

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

Releases

6 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–11
  2. 12
  3. 13–Arch

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.