diff --git a/git_commit.sh b/git_commit.sh index be8b423..7526608 100755 --- a/git_commit.sh +++ b/git_commit.sh @@ -1,8 +1,4 @@ #/usr/bin/env bash -# -# Environment Variables: -# NEMU_HOME -set -x STUID=ysyx_22040000 STUNAME=李心杨 @@ -37,3 +33,9 @@ git_commit () { git_commit $1 +if [ $? -eq 0 ]; then + echo "[OK] Git commit track" +else + echo "[FAIL] Git commit track" && false +fi +