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.
Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.