#!/usr/bin/env bash # git-commit.sh – Stage all, commit, push # Verwendung: bash .claude/scripts/git-commit.sh "commit message" [minor|patch(default)] set -euo pipefail MESSAGE="${1:-}" BUMP="${2:-patch}" if [[ -z "$MESSAGE" ]]; then echo "Verwendung: bash .claude/scripts/git-commit.sh \"message\" [patch|minor]" exit 1 fi ROOT="$(git rev-parse --show-toplevel)" cd "$ROOT" git add -A git commit -m "$MESSAGE Co-Authored-By: Claude Sonnet 4.6 " git push