# geeeeeeeeek/git-recipes

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/geeeeeeeeek-git-recipes).**

14,752 stars · 3,436 forks · archived

## Links

- GitHub: https://github.com/geeeeeeeeek/git-recipes
- Homepage: https://geeeeeeeeek.github.io/git-recipes
- awesome-repositories: https://awesome-repositories.com/repository/geeeeeeeeek-git-recipes.md

## Description

This project is an educational resource providing a detailed command reference, tutorial collections, and structured guides for mastering version control. It serves as a set of Chinese language tutorials based on international community best practices, designed to help users learn both the core concepts and practical applications of Git.

The resource focuses on specific workflow guides for managing feature development, release cycles, and collaborative forking strategies. It pairs theoretical version control concepts with practical command-line examples to demonstrate real-world application.

The content covers a broad range of operational domains, including code recovery, history management and refinement, repository administration, and the implementation of various branching models. It also provides guidance on file management, data synchronization, and history analysis.

The knowledge base is curated as a collection of structured markdown files organized by topic.

## Tags

### Education & Learning Resources

- [Version Control Learning](https://awesome-repositories.com/f/education-learning-resources/technical-domain-education/version-control-learning.md) — Serves as a comprehensive educational resource for mastering the fundamental concepts and workflows of Git.
- [Command Line References](https://awesome-repositories.com/f/education-learning-resources/command-line-references.md) — Pairs theoretical version control concepts with curated lists of essential command-line examples for practical application.
- [Version Control Knowledge Bases](https://awesome-repositories.com/f/education-learning-resources/version-control-knowledge-bases.md) — Serves as a comprehensive educational knowledge base for mastering Git standards and operations in Chinese.
- [Community Knowledge Bases](https://awesome-repositories.com/f/education-learning-resources/community-knowledge-bases.md) — Provides a unified reference by aggregating high-quality technical Git articles and personal experience from international communities.
- [Topic-Based Resource Organization](https://awesome-repositories.com/f/education-learning-resources/topic-based-resource-organization.md) — Structures educational Git content into categorized sections based on specific functional goals and user workflows.

### Development Tools & Productivity

- [Versioned File History](https://awesome-repositories.com/f/development-tools-productivity/automatic-file-tracking/versioned-file-history.md) — Provides guides on managing file versions and the history of changes within a repository. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))
- [Repository Forking](https://awesome-repositories.com/f/development-tools-productivity/collaborative-repositories/repository-forking.md) — Teaches how to create personal copies of repositories to develop features independently before submitting changes. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.3-%E5%88%9B%E5%BB%BA-Pull-Request))
- [Commit History Analysis](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis.md) — Offers detailed methods for searching and filtering previous snapshots by author, date, and message. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.4-%E6%A3%80%E6%9F%A5%E4%BB%93%E5%BA%93%E7%8A%B6%E6%80%81))
- [Commit Detail Inspectors](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/commit-detail-inspectors.md) — Shows how to inspect the specific impact of commits through diffs and statistics. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.3-Git-log-%E9%AB%98%E7%BA%A7%E7%94%A8%E6%B3%95))
- [Working Directory Inspections](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/commit-history-integration/working-directory-inspections.md) — Teaches how to inspect the current state of the working directory, including staged and unstaged changes. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.4-%E6%A3%80%E6%9F%A5%E4%BB%93%E5%BA%93%E7%8A%B6%E6%80%81))
- [File Restoration](https://awesome-repositories.com/f/development-tools-productivity/file-restoration.md) — Explains how to recover specific file versions from previous commits. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.2-%E4%BB%A3%E7%A0%81%E5%9B%9E%E6%BB%9A%EF%BC%9AReset%E3%80%81Checkout%E3%80%81Revert-%E7%9A%84%E9%80%89%E6%8B%A9))
- [Git Branching & Merging](https://awesome-repositories.com/f/development-tools-productivity/git-branching-merging.md) — Demonstrates how to combine fetching remote commits and merging them into the current local branch. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.2-%E4%BF%9D%E6%8C%81%E5%90%8C%E6%AD%A5))
- [Git References](https://awesome-repositories.com/f/development-tools-productivity/git-references.md) — Ships a detailed command reference and cheat sheets for managing commits, branches, and remote synchronization.
- [Git Workflows](https://awesome-repositories.com/f/development-tools-productivity/git-workflows.md) — Offers structured guides on managing feature development, release cycles, and collaborative forking strategies.
- [Reference Log Recovery](https://awesome-repositories.com/f/development-tools-productivity/reference-log-recovery.md) — Provides a detailed guide on using the reference log to recover lost commits. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.7-%E9%87%8D%E5%86%99%E9%A1%B9%E7%9B%AE%E5%8E%86%E5%8F%B2))
- [Remote Commit Synchronization](https://awesome-repositories.com/f/development-tools-productivity/remote-commit-synchronization.md) — Explains how to transfer local commits to remote repositories to share changes and update remote branches. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.2-%E4%BF%9D%E6%8C%81%E5%90%8C%E6%AD%A5))
- [Remote Repository Synchronization](https://awesome-repositories.com/f/development-tools-productivity/remote-repository-synchronization.md) — Guides users on importing commits from remote repositories into local tracking branches for review. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.2-%E4%BF%9D%E6%8C%81%E5%90%8C%E6%AD%A5))
- [Git Collaboration Workflows](https://awesome-repositories.com/f/development-tools-productivity/team-collaboration-tools/git-collaboration-workflows.md) — Provides structured guides for implementing branching models to organize team development and releases.
- [Repository Initialization](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/repository-initialization.md) — Covers the fundamentals of initializing a new Git repository from an existing project. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.2-%E5%88%9B%E5%BB%BA%E4%BB%A3%E7%A0%81%E4%BB%93%E5%BA%93))
- [Commit Comparison Tools](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/git-utilities/commit-comparison-tools.md) — Provides instructions for comparing the differences between two specific historical commits. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))
- [Branch Management](https://awesome-repositories.com/f/development-tools-productivity/branch-management.md) — Guides users through creating, listing, renaming, and deleting independent lines of development. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.4-%E4%BD%BF%E7%94%A8%E5%88%86%E6%94%AF))
- [Metadata-Based Analysis Filters](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/author-filters/metadata-based-analysis-filters.md) — Details how to refine commit searches using metadata filters like author and date ranges. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.3-Git-log-%E9%AB%98%E7%BA%A7%E7%94%A8%E6%B3%95))
- [Code History Searching](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/code-history-searching.md) — Guides users on locating specific commits that introduced or removed particular code patterns. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.3-Git-log-%E9%AB%98%E7%BA%A7%E7%94%A8%E6%B3%95))
- [Safe Commit Reversals](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/commit-history-integration/safe-commit-reversals.md) — Provides instructions on creating new commits that reverse the changes of previous ones to preserve history. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.2-%E4%BB%A3%E7%A0%81%E5%9B%9E%E6%BB%9A%EF%BC%9AReset%E3%80%81Checkout%E3%80%81Revert-%E7%9A%84%E9%80%89%E6%8B%A9))
- [Multi-Criteria Commit Filters](https://awesome-repositories.com/f/development-tools-productivity/commit-history-analysis/commit-type-filtering/multi-criteria-commit-filters.md) — Provides guides on isolating history using multi-criteria filters such as file paths and branch ranges. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.3-Git-log-%E9%AB%98%E7%BA%A7%E7%94%A8%E6%B3%95))
- [Commit Amendments](https://awesome-repositories.com/f/development-tools-productivity/commit-management/commit-message-annotations/commit-amendments.md) — Explains how to modify the most recent commit by replacing it with updated changes. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))
- [Commit Recording](https://awesome-repositories.com/f/development-tools-productivity/commit-recording.md) — Guides the process of recording permanent snapshots of staged changes with descriptive commit messages. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.1-%E5%BF%AB%E9%80%9F%E6%8C%87%E5%8D%97))
- [File Ignore Patterns](https://awesome-repositories.com/f/development-tools-productivity/file-ignore-patterns.md) — Explains how to use ignore configuration files to prevent specific files from appearing in status reports. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.4-%E6%A3%80%E6%9F%A5%E4%BB%93%E5%BA%93%E7%8A%B6%E6%80%81))
- [Branch Pointer Resets](https://awesome-repositories.com/f/development-tools-productivity/git-branching-merging/branch-pointer-resets.md) — Provides technical guidance on moving branch pointers to specific commits to synchronize the staging area. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))
- [History Linearization](https://awesome-repositories.com/f/development-tools-productivity/git-branching-merging/history-linearization.md) — Provides tutorials on using rebasing to maintain a linear project history by avoiding merge commits. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.1-%E4%BB%A3%E7%A0%81%E5%90%88%E5%B9%B6%EF%BC%9AMerge%E3%80%81Rebase-%E7%9A%84%E9%80%89%E6%8B%A9))
- [Git Remote Management](https://awesome-repositories.com/f/development-tools-productivity/git-remote-management.md) — Offers guidance on managing remote connections and configuring repository-level settings.
- [Project State Recovery](https://awesome-repositories.com/f/development-tools-productivity/project-state-recovery.md) — Provides tutorials on restoring lost commits and reverting project states to previous historical snapshots.
- [Remote Repository Cloning](https://awesome-repositories.com/f/development-tools-productivity/remote-repository-managers/remote-repository-cloning.md) — Teaches how to copy an entire remote repository and its full history to a local machine. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.2-%E5%88%9B%E5%BB%BA%E4%BB%A3%E7%A0%81%E4%BB%93%E5%BA%93))
- [Staging and Commit Interfaces](https://awesome-repositories.com/f/development-tools-productivity/staging-and-commit-interfaces.md) — Instructs on staging specific files to a temporary index before finalizing them in a commit. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.1-%E5%BF%AB%E9%80%9F%E6%8C%87%E5%8D%97))
- [Commit Cherry Picking Tools](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/git-utilities/commit-cherry-picking-tools.md) — Teaches how to copy a single commit from one branch and apply it to another. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))
- [Commit History Refinement](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/git-utilities/commit-cherry-picking-tools/commit-history-refinement.md) — Instructs on moving a branch pointer to a previous commit to discard project changes. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.2-%E4%BB%A3%E7%A0%81%E5%9B%9E%E6%BB%9A%EF%BC%9AReset%E3%80%81Checkout%E3%80%81Revert-%E7%9A%84%E9%80%89%E6%8B%A9))
- [Commit History Restructuring Operations](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/git-utilities/commit-cherry-picking-tools/commit-history-refinement/commit-history-restructuring-operations.md) — Explains how to replay commit sequences from one branch onto another to linearize history. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))
- [Interactive History Editing](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/repository-utilities/history-analysis-visualization/commit-graph-visualizers/interactive-history-editing.md) — Teaches the interactive process of removing, splitting, or reordering commits to refine history. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.7-%E9%87%8D%E5%86%99%E9%A1%B9%E7%9B%AE%E5%8E%86%E5%8F%B2))
- [Working Directory Controllers](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/repository-utilities/working-directory-controllers.md) — Guides users on setting the working directory to match a historical commit for inspection. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.5-%E6%A3%80%E5%87%BA%E4%B9%8B%E5%89%8D%E7%9A%84%E6%8F%90%E4%BA%A4))

### Software Engineering & Architecture

- [Branching Tutorials](https://awesome-repositories.com/f/software-engineering-architecture/development-methodologies/engineering-best-practices/development-process-methodologies/development-workflows/branching-model-managers/sandbox-branch-managers/feature-branch-lifecycles/branching-tutorials.md) — Offers educational content on developing features in isolated branches to prevent disruption of the main codebase. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.3-%E5%88%9B%E5%BB%BA-Pull-Request))
- [Git History Management](https://awesome-repositories.com/f/software-engineering-architecture/git-history-management.md) — Teaches practices for cleaning and organizing commit sequences using rebasing, squashing, and interactive editing.
- [Pull Request Submissions](https://awesome-repositories.com/f/software-engineering-architecture/project-management-governance/project-governance/contribution-guidelines/pull-request-workflows/pull-request-submissions.md) — Explains the process of creating and submitting pull requests from contributor branches to facilitate peer review. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.3-%E5%88%9B%E5%BB%BA-Pull-Request))
- [Release Management](https://awesome-repositories.com/f/software-engineering-architecture/release-management.md) — Provides guides on implementing formal branching models like GitFlow to manage development and release cycles. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/3.3-%E5%88%9B%E5%BB%BA-Pull-Request))
- [Version Control State Resets](https://awesome-repositories.com/f/software-engineering-architecture/plugin-state-management/state-reset-utilities/local-state-resets/version-control-state-resets.md) — Provides tutorials on reverting the staging area and working directory to a specific historical state. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/2.6-%E5%9B%9E%E6%BB%9A%E9%94%99%E8%AF%AF%E7%9A%84%E4%BF%AE%E6%94%B9))

### Content Management & Publishing

- [Markdown Documentation](https://awesome-repositories.com/f/content-management-publishing/markdown-documentation.md) — Uses structured markdown files to organize technical guides and tutorials into a navigable hierarchy.

### DevOps & Infrastructure

- [Local-Remote Branch Synchronizers](https://awesome-repositories.com/f/devops-infrastructure/version-control-management/version-control-utilities/branch-management-utilities/local-remote-branch-synchronizers.md) — Explains how to define custom links between local and remote branches to control push and fetch behavior. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.5-Git-%E6%8F%90%E4%BA%A4%E5%BC%95%E7%94%A8%E5%92%8C%E5%BC%95%E7%94%A8%E6%97%A5%E5%BF%97))
- [Commit History Management](https://awesome-repositories.com/f/devops-infrastructure/version-control-management/version-control-utilities/commit-history-management.md) — Teaches techniques for cleaning and organizing commit sequences through squashing and reordering. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/5.1-%E4%BB%A3%E7%A0%81%E5%90%88%E5%B9%B6%EF%BC%9AMerge%E3%80%81Rebase-%E7%9A%84%E9%80%89%E6%8B%A9))

### Repository Format

- [Branch Switching](https://awesome-repositories.com/f/repository-format/branch-switching.md) — Provides instructions on updating the working directory and staging area to match specific branches, tags, or commits. ([source](https://github.com/geeeeeeeeek/git-recipes/wiki/4.1-%E5%9B%BE%E8%A7%A3-Git-%E5%91%BD%E4%BB%A4))

### Part of an Awesome List

- [Git Tutorials and Guides](https://awesome-repositories.com/f/awesome-lists/devtools/git-tutorials-and-guides.md) — High-quality Git tutorials and practical guides in Chinese.
- [Version Control](https://awesome-repositories.com/f/awesome-lists/devtools/version-control.md) — Curated collection of Git tutorials and practices.
