name: gitworfkflows
description: Git workflows including branching strategies, commits, merging, rebasing, and GitHub collaboration. Activate for git commands, version control, PRs, and repository management.
allowed-tools:
- Bash
- Read
- Write
- Edit
- Glob
- Grep
Git Workflows Skill
Provides comprehensive Git version control capabilities for the Golden Armada AI Agent Fleet Platform.
When to Use This Skill
Activate this skill when working with:
- Git commands and operations
- Branching strategies
- Commit management
- Pull requests and merges
- Repository configuration
Quick Reference
Basic Commands
```bash
Status and info
git status
git log --oneline -10
git diff
git diff --staged
Staging
git add
git add .
git add -p # Interactive staging
Committing
git commit -m "message"
git commit -am "message" # Add and commit
git commit --amend
Branching
git branch
git branch
git checkout
git checkout -b
git switch
git switch -c
Merging
git merge
git merge --no-ff
git rebase
Remote
git fetch
git pull
git push
git push -u origin
```
Branching Strategy (Git Flow)
```
main ─────●─────────────●─────────────●───────
│ │ │
release ─────┼─────●───────┼─────────────┼───────
│ │ │ │
develop ─────●─────┼───────●─────────────●───────
│ │ │ │
feature ─────●─────┘ │ │
│ │
hotfix ───────────────────●─────────────┘
```
Branch Naming
```bash
Features
feature/add-agent-api
feature/GA-123-user-auth
Bugfixes
bugfix/fix-agent-timeout
bugfix/GA-456-memory-leak
Hotfixes
hotfix/critical-security-patch
Releases
release/v1.0.0
```
Commit Message Convention
```bash
Format
():