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