ysyx_22040000 李心杨
 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
  00:47:48  up 1 day  9:34,  2 users,  load average: 2.56, 1.07, 0.65
This commit is contained in:
tracer-ysyx 2024-01-06 00:47:48 +08:00 committed by xinyangli
parent da1b895cc5
commit 82a8080af4

View file

@ -10,11 +10,12 @@ STUNAME=李心杨
TRACER=tracer-ysyx
GITFLAGS="-q --author=$TRACER<tracer@ysyx.org> --no-verify --allow-empty"
YSYX_HOME=$NEMU_HOME/..
WORK_BRANCH=$(git rev-parse --abbrev-ref HEAD)
WORK_INDEX=.git/index.${WORK_BRANCH}
WORK_INDEX=$YSYX_HOME/.git/index.${WORK_BRANCH}
TRACER_BRANCH=$TRACER
LOCK_DIR=.git/
LOCK_DIR=$YSYX_HOME/.git/
git_soft_checkout () {
git checkout --detach -q && git reset --soft $1 -q -- && git checkout $1 -q -- ;