Add example of clone with -w
option (#63)
This commit is contained in:
parent
f2875f778d
commit
c3229fcecd
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue