1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2024-10-27 20:34:27 +00: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'