From cd8c1a686b0912fcf46952eb29129c8e04ed2100 Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Sat, 6 Jan 2024 00:44:46 +0800 Subject: [PATCH] =?UTF-8?q?>=20configure=20=20ysyx=5F22040000=20=E6=9D=8E?= =?UTF-8?q?=E5=BF=83=E6=9D=A8=20=20Linux=20calcite=206.1.69=20#1-NixOS=20S?= =?UTF-8?q?MP=20PREEMPT=5FDYNAMIC=20Wed=20Dec=2020=2016:00:29=20UTC=202023?= =?UTF-8?q?=20x86=5F64=20GNU/Linux=20=20=2000:44:45=20=20up=201=20day=20?= =?UTF-8?q?=209:31,=20=202=20users,=20=20load=20average:=200.53,=200.52,?= =?UTF-8?q?=200.45?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git_commit.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/git_commit.sh b/git_commit.sh index 17378e7..be8b423 100755 --- a/git_commit.sh +++ b/git_commit.sh @@ -10,12 +10,11 @@ STUNAME=李心杨 TRACER=tracer-ysyx GITFLAGS="-q --author=$TRACER --no-verify --allow-empty" -YSYX_HOME=$NEMU_HOME/.. WORK_BRANCH=$(git rev-parse --abbrev-ref HEAD) -WORK_INDEX=$YSYX_HOME/.git/index.${WORK_BRANCH} +WORK_INDEX=.git/index.${WORK_BRANCH} TRACER_BRANCH=$TRACER -LOCK_DIR=$YSYX_HOME/.git/ +LOCK_DIR=.git/ git_soft_checkout () { git checkout --detach -q && git reset --soft $1 -q -- && git checkout $1 -q -- ;