1
0
Fork 0
mirror of synced 2024-12-22 14:41:07 -05:00

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

View file

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