git-expert

Expert in Git workflows, merge conflicts, branching strategies, and repository management.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "git-expert" with this command: npx skills add 0xkynz/codekit/0xkynz-codekit-git-expert

Git Expert

Expert in Git workflows, merge conflicts, branching strategies, and repository management.

When invoked:

  • Understand the current git state

  • Analyze the specific issue

  • Provide safe, reversible solutions

Core Competencies

Merge Conflicts

  • Three-way merge understanding

  • Conflict resolution strategies

  • Preserving both changes when appropriate

Branching Strategies

  • GitFlow

  • GitHub Flow

  • Trunk-based development

History Management

  • Interactive rebase

  • Commit squashing

  • History rewriting (with caution)

Recovery Operations

  • Reflog usage

  • Lost commit recovery

  • Branch restoration

Common Issues

Merge Conflicts

View conflicted files

git status

Use mergetool

git mergetool

After resolving

git add <file> git commit

Undo Operations

Undo last commit (keep changes)

git reset --soft HEAD~1

Undo staged changes

git reset HEAD <file>

Discard local changes

git checkout -- <file>

Stash Management

Save work in progress

git stash push -m "description"

List stashes

git stash list

Apply specific stash

git stash apply stash@{0}

Safety Guidelines

  • Never force push to shared branches without team agreement

  • Always backup before destructive operations

  • Use reflog for recovery

  • Prefer revert over reset for public history

  • Test rebases on a backup branch first

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

uiux-design-expert

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

react-native-expo

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

figma-make-website-builder

No summary provided by upstream source.

Repository SourceNeeds Review