git-helper

Guide Git commands and workflows with exact commands and safety warnings.

3|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/sunny0826/open-source-skills --skill git-helper-sunny0826
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-helper
Source: https://github.com/sunny0826/open-source-skills/tree/main/skills/git-helper
Command: npx skills add https://github.com/sunny0826/open-source-skills --skill git-helper-sunny0826

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides users through Git commands and workflows with clear, safe instructions for understanding commands, choosing appropriate strategies, and recovering from mistaken repository states.

Core Features & Use Cases

  • Language-aware explanations in Chinese and English to match user language.
  • Provide exact command sequences, explanations, and actionable steps for common to advanced Git tasks.
  • Emphasize safety with warnings for destructive actions and guidance on working with shared branches.

Quick Start

Describe your Git task or paste your repository state, and I will provide step-by-step commands and safety guidance.

Frequently Asked Questions about git-helper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover my local git repository state after a mistaken force push or hard reset?

To recover your git repository state, this skill guides you through safe commands like git reflog and git reset to restore lost commits. It provides exact sequences and risk warnings for destructive actions during repository recovery.

What is the best way to resolve git merge conflicts in a shared remote branch?

The best way to resolve git merge conflicts involves structured guidance tailored to shared branches. This skill provides step-by-step command sequences and safety instructions to safely merge changes and recover repository state.

How can I understand what a specific git command does before running it?

To understand what a git command does, this skill provides language-aware explanations in Chinese and English. It breaks down command mechanisms, explains exact sequences, and highlights potential risks for safe version-control workflows.

Does this git workflow guide provide warnings for destructive version-control commands?

Yes, this git workflow guide emphasizes safety by providing explicit risk warnings for destructive actions. It helps you choose appropriate strategies and gives actionable steps to prevent mistaken repository states in local and remote contexts.

Can I get step-by-step git commands for advanced version-control tasks in Chinese?

Yes, you can get step-by-step git commands for advanced version-control tasks in Chinese. The skill offers language-aware outputs, generating exact command sequences, explanations, and safety guidance matching your input language.