explaingit

zhongyi-tong/git-recipes

Analysis updated 2026-06-24

14,748Audience · developerComplexity · 1/5LicenseSetup · easy

TLDR

Free Chinese-language Git tutorial collection organized as a five-part cookbook covering basics, remote teamwork, commands, and everyday workflows.

Mindmap

mindmap
  root((git-recipes))
    Inputs
      Reader question
      Topic chapter
    Outputs
      Wiki tutorial pages
      Workflow guidance
    Use Cases
      Learn Git in Chinese
      Pick between merge and rebase
      Reference command notes
      Onboard new teammates
    Tech Stack
      Git
      GitHub Wiki
      Markdown
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Learn Git from scratch in Chinese as a complete beginner

USE CASE 2

Decide between merge, rebase, reset, checkout, and revert for a real situation

USE CASE 3

Use the wiki as a reference manual for everyday Git commands

USE CASE 4

Adopt a recommended team workflow for pull requests and branches

What is it built with?

GitMarkdownGitHub Wiki

How does it compare?

zhongyi-tong/git-recipespowerline/powerlinefauxpilot/fauxpilot
Stars14,74814,74714,741
LanguagePythonPython
Setup difficultyeasymoderatehard
Complexity1/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Creative Commons BY 2.5 AU: free to share and adapt with attribution to the original author.

In plain English

Git Recipes is a free, Chinese-language tutorial collection that teaches people how to use Git, the version control system that programmers rely on to track changes in their code. The author, Zhongyi Tong, put it together because so much of the best Git writing online is in English, and a lot of it had never been translated. The project bills itself as a high quality menu of Git lessons, drawn partly from outstanding articles in foreign communities and partly from the author's own practice. The content is organised like a cookbook, in five parts. Part one is a short introduction to what Git actually is. Part two walks a complete beginner through building a local code repository from scratch, covering how to start a project, save changes, check the state of the repository, check out earlier versions, roll back mistakes, and rewrite project history. Part three moves on to working with a remote team, with chapters on staying in sync, opening pull requests, using branches, and comparing common workflows. Part four is a single illustrated chapter on Git commands, aimed at readers who already have a rough sense of how Git works and want to see the mechanics more clearly. Part five is a set of practical notes for everyday use, including how to choose between merge and rebase, how to choose between reset, checkout, and revert when undoing work, advanced uses of git log, custom Git hooks for automating tasks, and the various ways of referring to past commits. Each chapter links out to a page on the project's GitHub wiki rather than holding the writing inline, so the repository itself acts mostly as an index. Articles that are translations or adaptations of someone else's work are marked with the original author and the original licence. The content is shared under the Creative Commons BY 2.5 AU licence, and the author invites readers to suggest more material through issues or pull requests. A note at the bottom of the README says the project was started in 2015.

Copy-paste prompts

Prompt 1
Translate the git-recipes chapter on merge vs rebase into a short English summary
Prompt 2
Build a one-page Git cheat sheet from the part-five practical notes in git-recipes
Prompt 3
Walk me through the git-recipes beginner path for setting up my first repository
Prompt 4
Compare the team workflows described in git-recipes to GitHub Flow

Frequently asked questions

What is git-recipes?

Free Chinese-language Git tutorial collection organized as a five-part cookbook covering basics, remote teamwork, commands, and everyday workflows.

What license does git-recipes use?

Creative Commons BY 2.5 AU: free to share and adapt with attribution to the original author.

How hard is git-recipes to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is git-recipes for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.