Files
bttoxin-pipeline/.claude/skills/ralph-runner/scripts/commit.sh
zly 1df699b338 docs: add ralph-runner Claude Skill
- SKILL.md: Complete documentation for Ralph automation
- scripts/status.sh: Check project and Ralph status
- scripts/start.sh: Start Ralph loop with options
- scripts/commit.sh: Git commit helper
- README.md: Skill usage guide

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-13 17:31:51 +08:00

28 lines
511 B
Bash
Executable File

#!/bin/bash
# Git Commit Helper
# Usage: ./commit.sh "commit message"
PROJECT_DIR="/vol1/1000/docker_server/traefik/web/zly"
cd "$PROJECT_DIR"
MESSAGE="${1:-"chore: update changes"}"
echo "📝 Committing changes..."
echo "Message: $MESSAGE"
echo ""
# Show staged files
echo "📁 Files to commit:"
git diff --cached --name-only
echo ""
# Commit
git commit -m "$MESSAGE
Co-Authored-By: Claude <noreply@anthropic.com>"
echo ""
echo "✅ Commit successful"
echo "📊 Recent commits:"
git log --oneline -3