AGENT SKILL
git
Git version control operations
- License 许可
- MIT
- 所属仓库
- gebruder/wirken
- 最近更新
- 2026-11-14
- Stars
- ★ 214
- Forks
- 15
01 前言 Front Matter
- name
- git
- metadata
- { "wirken": { "requires": { "bins": [ "git" ] } } }
- description
- Git version control operations
- permissions
- { "tools": { "allow": [ "exec" ] }, "egress": { "mode": "deny" }, "inference": { "allow": [ "*" ] } }
- disable-model-invocation
- true
02 资源文件 3
- 其他SKILL.deleg128 B
- 其他SKILL.pub64 B
- 其他SKILL.sig128 B
03 SKILL.md 正文
Git
Perform git operations in the workspace.
Common operations
- Status:
git status - Log:
git log --oneline -20 - Diff:
git diff - Staged diff:
git diff --cached - Add files:
git add <file>orgit add -A - Commit:
git commit -m "message" - Branch:
git branch -a - Switch branch:
git checkout <branch>orgit switch <branch> - Create branch:
git checkout -b <branch> - Pull:
git pull - Push:
git push - Stash:
git stash/git stash pop - Blame:
git blame <file> - Search history:
git log --grep="pattern" - Find who changed a line:
git log -p -S "text" -- <file>
Tips
- Always check
git statusbefore committing - Use
git diff --statfor a summary of changes - Use
git log --oneline --graphfor branch visualization
04 同仓库更多 Skills
web-fetch
Fetch and extract content from URLs
★ 214
weather
Get current weather and forecasts
★ 214
tmux
Manage tmux terminal sessions
★ 214
system-info
System information and monitoring
★ 214
ssh
SSH key management and remote connections
★ 214
process-manager
Monitor and manage system processes
★ 214