# 前言

Git 是程序员必备技能，在能熟练使用 Git GUI 客户端之后（如 [SoureTree](https://www.sourcetreeapp.com/)、[Github Desktop](https://desktop.github.com/)，或者是 VSCode 的 git 面板或 [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) 插件），也许你希望能了解到更多关于 Git 的知识点，并用于解决实际项目遇到的问题。

《Git 进阶指南》聚焦于介绍那些 Git 中容易被忽视，而项目中又时常会遇到的知识点，同时又保持足够的精简。

**在这本书中你能学到：**

* 大量提升操作效率的 git alias
* git stash / tag / submodule 等如章节所示知识点
* 项目中回滚、解决冲突的最佳实践
* 常见的配置问题

**本书不包含的内容：**

* 基础的 Git 命令使用
* Git 文件类型与版本实现原理
* 强大而又复杂的 `git rebase -i` 操作
* Git Hooks / CI 的使用

## 推荐资料

虽然本书不包含那些过于简单、过于理论和过于复杂的知识点，但以下这些参考资料或许会对你有所帮助：

* [Learn Git Branching](https://learngitbranching.js.org) 知名的 Git 教学游戏，通过可视化的动画和交互，帮助理解所有分支操作的概念和方法。如果你打算自学，这些命令会用得上：`show solution`、`levels`、`undo`、`reset`。
* [Pro Git](https://git-scm.com/book/zh/v2) 专业全面的 git 教程


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gb.yekai.net/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
