Regenerate yadm.md
This commit is contained in:
parent
8d1151a609
commit
8ff804c1a9
1 changed files with 48 additions and 38 deletions
10
yadm.md
10
yadm.md
|
@ -257,6 +257,16 @@
|
||||||
local.user
|
local.user
|
||||||
Override the USER for the purpose of symlinking alternate files.
|
Override the USER for the purpose of symlinking alternate files.
|
||||||
|
|
||||||
|
## HOOKS
|
||||||
|
yadm has the capability to execute scripts before or after any opera-
|
||||||
|
tion that yadm can perform. To utilize this functionality, create a
|
||||||
|
directory to store the hook scripts at $HOME/.yadm/hooks. Then, create
|
||||||
|
scripts inside this directory for whatever operation you want to hook
|
||||||
|
into. For instance, if you'd like a script to run after yadm pull, your
|
||||||
|
hook script should be executable and located at
|
||||||
|
$HOME/.yadm/hooks/post_pull.sh. Any of the yadm subcommands can uti-
|
||||||
|
lize this functionality.
|
||||||
|
|
||||||
## ALTERNATES
|
## ALTERNATES
|
||||||
When managing a set of files across different systems, it can be useful
|
When managing a set of files across different systems, it can be useful
|
||||||
to have an automated way of choosing an alternate version of a file for
|
to have an automated way of choosing an alternate version of a file for
|
||||||
|
|
Loading…
Reference in a new issue