From 9b17c14d9d75cb55f75449ba82140f0e47e88d1f Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 3 Apr 2023 09:07:46 +0200 Subject: [PATCH] forgejo helper does not copy .git it will create a new git repo from scratch --- forgejo-test-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index e555c0f..386602d 100755 --- a/forgejo-test-helper.sh +++ b/forgejo-test-helper.sh @@ -62,7 +62,7 @@ function push() { local token="$6" local dir="$DIR/$project" - rsync -a $directory/ $dir/ + rsync -a --exclude .git $directory/ $dir/ local workflows=$dir/.forgejo/workflows/*.yml if test "$(echo $workflows)" != "$workflows"; then