From a635b367151160ec360d71ec1951220db35b7679 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Tue, 9 Apr 2024 09:09:22 +0000 Subject: [PATCH] =?UTF-8?q?GC=E3=82=92=E5=AE=9F=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pull.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pull.sh b/pull.sh index aeb82a8b..7536599e 100644 --- a/pull.sh +++ b/pull.sh @@ -4,6 +4,7 @@ docker exec -i taiko-mongo mongoexport --db taiko --collection users --out /dev/ docker exec -i taiko-mongo mongoexport --db taiko --collection songs --out /dev/stdout | sort -n > songs.json docker exec -i taiko-mongo mongoexport --db taiko --collection scores --out /dev/stdout | sort -n > scores.json +git gc --prune=now git add *.json changed=$(git diff --name-only --cached | paste -s -d " ") git commit --author="BOT " -m "$changed が更新されました"