diff --git a/scripts/git.mk b/scripts/git.mk
index 5400e61..8e0a353 100644
--- a/scripts/git.mk
+++ b/scripts/git.mk
@@ -7,8 +7,4 @@ GITFLAGS = -q --author='tracer-ics2021 <tracer@njuics.org>' --no-verify --allow-
 
 # prototype: git_commit(msg)
 define git_commit
-	-@git add $(NEMU_HOME)/.. -A --ignore-errors
-	-@while (test -e .git/index.lock); do sleep 0.1; done
-	-@(echo "> $(1)" && echo $(STUID) && hostnamectl && uptime) | git commit -F - $(GITFLAGS)
-	-@sync
 endef
