From aba434274e87c96c9e59cb3eaed51d7cf399a7bd Mon Sep 17 00:00:00 2001 From: "AVM.Martin" Date: Sun, 21 Jul 2024 04:58:42 +0700 Subject: [PATCH] fix(clone): reset index of YADM_WORK --- yadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm b/yadm index 09da278..fddf6c0 100755 --- a/yadm +++ b/yadm @@ -827,7 +827,7 @@ function clone() { rm -rf "$wc" # then reset the index as the --no-checkout flag makes the index empty - "$GIT_PROGRAM" reset --quiet -- . + "$GIT_PROGRAM" reset --quiet -- "$YADM_WORK" if [ "$YADM_WORK" = "$HOME" ]; then debug "Determining if repo tracks private directories"