# Git Workflow Helper

> Expert guidance for Git workflows, troubleshooting, and best practices Use when this capability is needed.

- Skill: `tomevault-io/git-workflow-helper` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/git-workflow-helper`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/git-workflow-helper/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/git-workflow-helper

---


# Git-workflow-helper

## Instructions

When working with Git:
- Commit early and often
- Write clear commit messages (imperative mood)
- Use branches for features/fixes
- Rebase before merge for clean history
- main/master: Production-ready
- develop: Integration branch
- feature/*: New features
- fix/*: Bug fixes
- hotfix/*: Emergency fixes
- Undo changes: git reset, git revert, git restore
- Stash work: git stash save/pop/apply
- Interactive rebase: git rebase -i
- Cherry-pick commits: git cherry-pick
- Resolve merge conflicts
- Recover lost commits (git reflog)
- Fix detached HEAD
- Clean up branches
- Never force push to shared branches
- Use .gitignore properly
- Sign commits (GPG)
- Regular garbage collection


## Examples

Add examples of how to use this skill here.

## Notes

- This skill was auto-generated
- Edit this file to customize behavior

---
> Source: [jackspace/ClaudeSkillz](https://github.com/jackspace/ClaudeSkillz) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

