1
0
Fork 0
mirror of synced 2024-11-04 09:08:56 -05:00

Update the man page to match new clone behavior (from #289)

This commit is contained in:
Erik Flodin 2021-02-08 23:00:13 +01:00
parent 31071d9ac9
commit 7b1bfac12b
No known key found for this signature in database
GPG key ID: 420A7C865EE3F85F

26
yadm.1
View file

@ -116,32 +116,12 @@ if it exists.
.TP
.BI clone " url
Clone a remote repository for tracking dotfiles.
After the contents of the remote repository have been fetched, a "merge" of
After the contents of the remote repository have been fetched, a "check out" of
the remote HEAD branch is attempted.
If there are conflicting files already present in the
.IR work-tree ,
this merge will fail and instead a "reset" of the remote HEAD branch
will be done, followed by a "stash". This "stash" operation will preserve the
original data.
You can review the stashed conflicts by running the command
.RS
.RS
yadm stash show -p
.RE
from within your
.I $HOME
directory. If you want to restore the stashed data, you can run
.RS
yadm stash apply
.RE
or
.RS
yadm stash pop
.RE
the local version will be left unmodified and you'll have to review and resolv
the difference.
The repository is stored in
.IR $HOME/.local/share/yadm/repo.git .