1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00
Files
TheLocehiliosan_yadm/test
Erik Flodin f45e66d4da Rework clone
Instead of doing work to find the default branch just to be able to
set up the repository before doing a fetch, do a "git clone" and let
git handle it.

Use -c core.sharedrepository=0600 to get the same result as
--shared=0600 passed to init.

Use --separate-git-dir to get the git directory in $YADM_REPO. Use a
temporary dir as work tree and remove it right after the clone is
done.

When the clone is done, iterate over all missing files in $YADM_WORK
and perform a checkout. If local files exists that differ compared
with the cloned ones the local files are left intact and the user is
instructed to deal with the conflicts.
2021-01-08 22:05:46 +01:00
..
2020-12-21 17:06:14 -06:00
2019-12-05 15:02:43 -06:00
2019-02-20 07:48:25 -06:00
2021-01-05 21:57:32 +01:00
2021-01-05 21:57:32 +01:00
2021-01-08 22:05:46 +01:00
2020-11-22 17:09:44 -06:00
2021-01-05 21:57:32 +01:00
2021-01-05 21:57:32 +01:00
2021-01-05 21:57:32 +01:00
2020-11-22 17:09:44 -06:00
2021-01-05 21:57:32 +01:00
2020-11-22 17:09:44 -06:00
2020-11-22 17:09:44 -06:00
2020-11-22 17:09:44 -06:00
2021-01-05 21:57:32 +01:00
2021-01-05 21:57:32 +01:00
2021-01-05 21:57:32 +01:00