2015-03-23 19:36:10 +00:00
|
|
|
# NAME
|
|
|
|
|
git-annex assist
assist: New command, which is the same as git-annex sync but with
new files added and content transferred by default.
(Also this fixes another reversion in git-annex sync,
--commit --no-commit, and --message were not enabled, oops.)
See added comment for why git-annex assist does commit staged
changes elsewhere in the work tree, but only adds files under
the cwd.
Note that it does not support --no-commit, --no-push, --no-pull
like sync does. My thinking is, why should it? If you want that
level of control, use git commit, git annex push, git annex pull.
Sync only got those options because pull and push were not split
out.
Sponsored-by: k0ld on Patreon
2023-05-18 18:37:29 +00:00
|
|
|
git-annex assistant - daemon to add files and automatically sync changes
|
2015-03-23 19:36:10 +00:00
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex assistant
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Watches for changes to files in the current directory and its subdirectories,
|
2023-05-17 17:32:47 +00:00
|
|
|
and automatically syncs them to other remotes. This includes adding new
|
|
|
|
files. New files published to remotes by others are also automatically
|
|
|
|
downloaded.
|
|
|
|
|
|
|
|
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`.
|
2015-03-23 19:36:10 +00:00
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--autostart`
|
|
|
|
|
|
|
|
Automatically starts the assistant running in each repository listed
|
|
|
|
in the file `~/.config/git-annex/autostart`
|
|
|
|
|
|
|
|
This is typically started at boot, or when you log in.
|
|
|
|
|
|
|
|
* `--startdelay=N`
|
|
|
|
|
|
|
|
Wait N seconds before running the startup scan. This process can
|
2015-04-01 23:50:17 +00:00
|
|
|
be expensive and you may not want to run it immediately upon login.
|
2015-03-23 19:36:10 +00:00
|
|
|
|
2015-11-02 15:22:02 +00:00
|
|
|
When --autostart is used, defaults to --startdelay=5.
|
|
|
|
|
2015-03-23 19:36:10 +00:00
|
|
|
* `--foreground`
|
|
|
|
|
|
|
|
Avoid forking to the background.
|
|
|
|
|
|
|
|
* `--stop`
|
|
|
|
|
2015-05-01 17:41:53 +00:00
|
|
|
Stop a running daemon in the current repository.
|
2015-03-23 19:36:10 +00:00
|
|
|
|
2015-05-01 17:53:45 +00:00
|
|
|
* `--autostop`
|
|
|
|
|
|
|
|
The complement to --autostart; stops all running daemons in the
|
|
|
|
repositories listed in the autostart file.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2015-03-23 19:36:10 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-watch]](1)
|
|
|
|
|
git-annex assist
assist: New command, which is the same as git-annex sync but with
new files added and content transferred by default.
(Also this fixes another reversion in git-annex sync,
--commit --no-commit, and --message were not enabled, oops.)
See added comment for why git-annex assist does commit staged
changes elsewhere in the work tree, but only adds files under
the cwd.
Note that it does not support --no-commit, --no-push, --no-pull
like sync does. My thinking is, why should it? If you want that
level of control, use git commit, git annex push, git annex pull.
Sync only got those options because pull and push were not split
out.
Sponsored-by: k0ld on Patreon
2023-05-18 18:37:29 +00:00
|
|
|
[[git-annex-assist]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-schedule]](1)
|
|
|
|
|
|
|
|
For more details about the git-annex assistant, see
|
|
|
|
<https://git-annex.branchable.com/assistant/>
|
|
|
|
|
2015-03-23 19:36:10 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|