| name | git-operations |
| description | Git repository operations and troubleshooting |
| homepage | https://docs.aof.sh/skills/git-operations |
| metadata | {"emoji":"🌳","version":"1.0.0","requires":{"bins":["git"],"env":[],"config":[]},"tags":["git","version-control","operations"]} |
Git Operations Skill
Perform git operations for code management, debugging, and repository maintenance.
When to Use This Skill
- Need to check commit history
- Investigating code changes
- Managing branches and tags
- Resolving merge conflicts
- Checking repository status
Steps
- Check status —
git status
- View history —
git log --oneline -20
- Find commits —
git log --grep="pattern"
- Check differences —
git diff HEAD~1
- List branches —
git branch -a