What problem does it solve?
This Skill provides a comprehensive guide to Git version control and GitHub workflows, solving the challenges of managing code versions, collaborating on projects, and setting up efficient workflows.
Core Features & Use Cases
- Git Commands: Offers a quick reference for common Git commands like cloning, branching, committing, and merging.
- Configuration: Provides detailed steps for initial setup, SSH setup, GPG signing, and conventional commit formatting.
- Branching Strategies: Explains Git Flow, GitHub Flow, and Trunk-Based Development, with examples and commands.
- Common Workflows: Covers starting new features, updating feature branches, squashing commits, fixing mistakes, stashing work, cherry-picking, and more.
- GitHub CLI: Includes setup and common commands for repository management, pull requests, issues, workflows, and releases.
- Merge Strategies: Discusses merge commit, squash merge, rebase, and when to use each strategy.
- Advanced Commands: Explores log & history, diff, reflog, bisect, worktrees, and GitHub features like PR templates and issue templates.
- Anti-patterns: Highlights common mistakes and provides guidance on best practices.
Quick Start
Use the git skill to configure your Git environment and set up SSH keys for GitHub.