This commit is contained in:
kuaifan 2022-01-06 18:56:50 +08:00
parent 72b732a55d
commit 77a9eca634

1
cmd
View File

@ -273,6 +273,7 @@ if [ $# -gt 0 ]; then
echo -e "$res"
elif [[ "$1" == "update" ]]; then
shift 1
run_mysql backup
git fetch --all
git reset --hard origin/$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
git pull