π¦ ClawHub
Git Tool
by @dinghaibin
Useful Git commands for repository management. Use when user needs to manage git repositories, create branches, view history, stash changes, or automate git...
TERMINAL
clawhub install git-toolπ About This Skill
name: git-tool description: Useful Git commands for repository management. Use when user needs to manage git repositories, create branches, view history, stash changes, or automate git workflows.
Git Tool
Useful Git commands for repository management.
Quick Start
# Initialize repo
python scripts/git.py initView status
python scripts/git.py status
Usage
python scripts/git.py COMMAND [OPTIONS]Commands:
init Initialize repository
status Show working tree status
branch List branches
commit Create commit
log View commit history
stash Stash changes
diff Show changes
Examples
# Initialize
python scripts/git.py initStatus
python scripts/git.py statusView log
python scripts/git.py log --onelineCreate branch
python scripts/git.py branch new-featureStash changes
python scripts/git.py stash save "work in progress"Commit
python scripts/git.py commit -m "Update files"
Features
π‘ Examples
# Initialize
python scripts/git.py initStatus
python scripts/git.py statusView log
python scripts/git.py log --onelineCreate branch
python scripts/git.py branch new-featureStash changes
python scripts/git.py stash save "work in progress"Commit
python scripts/git.py commit -m "Update files"