Add example of clone with `-w` option (#63)

This commit is contained in:
Tim Byrne 2020-06-30 16:07:53 -05:00
parent f2875f778d
commit c3229fcecd
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 3 additions and 0 deletions

View File

@ -184,6 +184,9 @@ alias sysyadm="sudo yadm -Y /etc/yadm"
# initialize the yadm repo using the worktree of "/"
sysyadm init -w /
# or clone the yadm repo using the worktree of "/"
sysyadm clone -w / <url>
# continue to use sysyadm for managing system files
sysyadm add /etc/something.conf
sysyadm commit -m 'Add something.conf'