Удалён agent git-commit.sh, перенесён в ~/.cursor/eventhub/.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "Usage: git-commit.sh message paths..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
MSG=$1
|
||||
shift
|
||||
REPO_ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
||||
cd "$REPO_ROOT"
|
||||
|
||||
git add "$@"
|
||||
/usr/bin/git commit -m "$MSG"
|
||||
git log -1 --oneline
|
||||
Reference in New Issue
Block a user