mirror of
https://github.com/one-among-us/data.git
synced 2024-11-23 19:47:36 +08:00
11 lines
250 B
Bash
Executable File
11 lines
250 B
Bash
Executable File
#!/usr/bin/env bash
|
|
ls -lah
|
|
git log
|
|
python3 scripts/convert_zh.py
|
|
|
|
# If the hash is the only thing that's changed, don't commit
|
|
if [[ "$(git diff --numstat | wc -l | xargs)" == 1 ]]; then
|
|
echo "Nothing changed, resetting"
|
|
git reset --hard
|
|
fi
|