From 75f6e7378f7e61700cb6ed1047c73acc910072ce Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 21 Sep 2020 15:48:40 -0400 Subject: fix git push --- selfpublish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfpublish.sh b/selfpublish.sh index 11d4183..56f1b68 100644 --- a/selfpublish.sh +++ b/selfpublish.sh @@ -556,7 +556,7 @@ write_cgit_config() (cd "$cgit_scan_dir" git clone --bare "$UPSTREAM" selfpublish.sh) else - GIT_DIR="$cgit_scan_dir"/selfpublish.sh git fetch --all + git push --all "$cgit_scan_dir"/selfpublish.sh fi line="scan-path=$cgit_scan_dir" grep -qxF "$line" /etc/cgitrc || printf '%s\n' "$line" >> /etc/cgitrc -- cgit v1.2.3