File contents Git Workflow Strategy
Table of Contents
Overview
Establish efficient Git workflows that support team collaboration, code quality, and deployment readiness through structured branching strategies and merge patterns.
When to Use
Team collaboration setup
Release management
Feature development coordination
Hotfix procedures
Code review processes
CI/CD integration planning
Quick Start
Minimal working example:
# Initialize GitFlow
git flow init -d
# Start a feature
git flow feature start new-feature
# Work on feature
git add .
git commit -m "feat: implement new feature"
git flow feature finish new-feature
# Start a release
git flow release start 1.0.0
# Update version numbers, changelog
git add .
git commit -m "chore: bump version to 1.0.0"
git flow release finish 1.0.0
# Create hotfix
git flow hotfix start 1.0.1
# Fix critical bug
git add .
git commit -m "fix: critical bug in production"
git flow hotfix finish 1.0.1
Reference Guides
Detailed implementations in the references/ directory:
Guide
Contents
GitFlow Workflow Setup
GitFlow Workflow Setup, GitHub Flow Workflow, Trunk-Based Development, Git Configuration for Workflows (+1 more)
Merge Strategy Script
Merge Strategy Script
Collaborative Workflow with Code Review
Collaborative Workflow with Code Review
Best Practices
✅ DO
Choose workflow matching team size and release cycle
Keep feature branches short-lived (< 3 days)
Use descriptive branch names with type prefix
Require code review before merging to main
Enforce protection rules on main/release branches
Rebase frequently to minimize conflicts
Write atomic, logical commits
Keep commit messages clear and consistent
❌ DON'T
Commit directly to main branch
Create long-lived feature branches
Use vague branch names (dev, test, temp)
Merge without code review
Mix multiple features in one branch
Force push to shared branches
Ignore failing CI checks
Merge with merge commits in TBD
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1 --- 2 name: aj-geddes-useful-ai-prompts-git-workflow-strategy 3 description: Git Workflow Strategy 4 --- 5 6 # Git Workflow Strategy 7 8 ## Table of Contents 9 10 - [Overview](#overview) 11 - [When to Use](#when-to-use) 12 - [Quick Start](#quick-start) 13 - [Reference Guides](#reference-guides) 14 - [Best Practices](#best-practices) 15 16 ## Overview 17 18 Establish efficient Git workflows that support team collaboration, code quality, and deployment readiness through structured branching strategies and merge patterns. 19 20 ## When to Use 21 22 - Team collaboration setup 23 - Release management 24 - Feature development coordination 25 - Hotfix procedures 26 - Code review processes 27 - CI/CD integration planning 28 29 ## Quick Start 30 31 Minimal working example: 32 33 ```bash 34 # Initialize GitFlow 35 git flow init -d 36 37 # Start a feature 38 git flow feature start new-feature 39 # Work on feature 40 git add . 41 git commit -m "feat: implement new feature" 42 git flow feature finish new-feature 43 44 # Start a release 45 git flow release start 1.0.0 46 # Update version numbers, changelog 47 git add . 48 git commit -m "chore: bump version to 1.0.0" 49 git flow release finish 1.0.0 50 51 # Create hotfix 52 git flow hotfix start 1.0.1 53 # Fix critical bug 54 git add . 55 git commit -m "fix: critical bug in production" 56 git flow hotfix finish 1.0.1 57 ``` 58 59 ## Reference Guides 60 61 Detailed implementations in the `references/` directory: 62 63 | Guide | Contents | 64 |---|---| 65 | [GitFlow Workflow Setup](references/gitflow-workflow-setup.md) | GitFlow Workflow Setup, GitHub Flow Workflow, Trunk-Based Development, Git Configuration for Workflows (+1 more) | 66 | [Merge Strategy Script](references/merge-strategy-script.md) | Merge Strategy Script | 67 | [Collaborative Workflow with Code Review](references/collaborative-workflow-with-code-review.md) | Collaborative Workflow with Code Review | 68 69 ## Best Practices 70 71 ### ✅ DO 72 73 - Choose workflow matching team size and release cycle 74 - Keep feature branches short-lived (< 3 days) 75 - Use descriptive branch names with type prefix 76 - Require code review before merging to main 77 - Enforce protection rules on main/release branches 78 - Rebase frequently to minimize conflicts 79 - Write atomic, logical commits 80 - Keep commit messages clear and consistent 81 82 ### ❌ DON'T 83 84 - Commit directly to main branch 85 - Create long-lived feature branches 86 - Use vague branch names (dev, test, temp) 87 - Merge without code review 88 - Mix multiple features in one branch 89 - Force push to shared branches 90 - Ignore failing CI checks 91 - Merge with merge commits in TBD 92 93 --- 94 > Converted and distributed by [TomeVault](https://tomevault.io/claim/aj-geddes) — claim your Tome and manage your conversions. 95 <!-- tomevault:4.0:skill_md:2026-04-11 -->
tomevault-io/skills-registry/tree/main/aj-geddes--useful-ai-prompts--git-workflow-strategy commit 1671892637
Frequently asked questions How do I install the Aj Geddes Useful AI Prompts Git Workflow Strategy skill? Run npx skillmds@latest add tomevault-io/aj-geddes-useful-ai-prompts-git-workflow-strategy in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Aj Geddes Useful AI Prompts Git Workflow Strategy skill do? Git Workflow Strategy It is listed under Productivity on SkillMD.
Is Aj Geddes Useful AI Prompts Git Workflow Strategy safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Aj Geddes Useful AI Prompts Git Workflow Strategy? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Aj Geddes Useful AI Prompts Git Workflow Strategy free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Aj Geddes Useful AI Prompts Git Workflow Strategy? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.