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:
parent
f2875f778d
commit
c3229fcecd
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user