diff --git a/yadm b/yadm index fddf6c0..2dec60a 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 -- "$YADM_WORK" + "$GIT_PROGRAM" reset --quiet -- ":/" if [ "$YADM_WORK" = "$HOME" ]; then debug "Determining if repo tracks private directories"