From e0d91a0be99c426036f169ecb79386736fd13a36 Mon Sep 17 00:00:00 2001
From: Boming Zhang <bomingzh@sjtu.edu.cn>
Date: Tue, 3 Jun 2025 09:41:46 -0400
Subject: [PATCH] feat: clean before git pull

---
 bin/joj3-forge-convert | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/joj3-forge-convert b/bin/joj3-forge-convert
index efe32a3..2f4d4aa 100755
--- a/bin/joj3-forge-convert
+++ b/bin/joj3-forge-convert
@@ -1,6 +1,7 @@
 #!/usr/bin/bash
 set -e
 COURSE=$1
+git -C /home/tt/.cache/$COURSE-config clean -dfx
 git -C /home/tt/.cache/$COURSE-config pull
 rsync -r /home/tt/.cache/$COURSE-config/home/tt/.config/ /home/tt/.config
 joj3-forge convert /home/tt/.config/joj