Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
修改目录
  • Loading branch information
goto456 authored Mar 16, 2018
1 parent 15ab9df commit b518a74
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
# 目录
[1. Git 简介](#1)
[2. 基本命令](#2)
   [2.1. git config: 环境设置命令](#2.1)
   [2.2. git init: 初始化本地仓库](#2.2)
   [2.3. git clone: 克隆远程仓库到本地](#2.3)
[2.4. ssh-keygen: 生成SSH公钥](#2.4)
[2.5. git status 查看当前状态](#2.5)
[2.6. git add: 添加到暂存区](#2.6)
[2.7. git commit: 提交到版本库](#2.7)
[2.8. git log: 查看提交历史](#2.8)
[2.9. git diff: 显示变更内容](#2.9)
[2.10. git reset: 回退版本](#2.10)
[2.11. git push: 推送本地分支到远程](#2.11)
[2.12. git pull: 拉取远程分支到本地并合并](#2.12)
    [2.1. git config: 环境设置命令](#2.1)
    [2.2. git init: 初始化本地仓库](#2.2)
    [2.3. git clone: 克隆远程仓库到本地](#2.3)
    [2.4. ssh-keygen: 生成SSH公钥](#2.4)
    [2.5. git status 查看当前状态](#2.5)
    [2.6. git add: 添加到暂存区](#2.6)
    [2.7. git commit: 提交到版本库](#2.7)
    [2.8. git log: 查看提交历史](#2.8)
    [2.9. git diff: 显示变更内容](#2.9)
    [2.10. git reset: 回退版本](#2.10)
    [2.11. git push: 推送本地分支到远程](#2.11)
    [2.12. git pull: 拉取远程分支到本地并合并](#2.12)
[3. 分支管理](#3)
[3.1. git branch: 分支操作](#3.1)
[3.2. git checkout: 分支间切换](#3.2)
[3.3. git merge: 合并分支](#3.3)
[3.4. git rebase: 分支的变基](#3.4)
[3.5. git cherry-pick: 挑拣节点合并到当前分支上](#3.5)
    [3.1. git branch: 分支操作](#3.1)
    [3.2. git checkout: 分支间切换](#3.2)
    [3.3. git merge: 合并分支](#3.3)
    [3.4. git rebase: 分支的变基](#3.4)
    [3.5. git cherry-pick: 挑拣节点合并到当前分支上](#3.5)
[4. 其他命令](#4)
[4.1. git revert: 撤销某次提交](#4.1)
[4.2. git tag: 标签的操作](#4.2)
[4.3. git show: 显示信息](#4.3)
[4.4. git blame: 查看文件每行的提交历史(追责)](#4.4)
    [4.1. git revert: 撤销某次提交](#4.1)
    [4.2. git tag: 标签的操作](#4.2)
    [4.3. git show: 显示信息](#4.3)
    [4.4. git blame: 查看文件每行的提交历史(追责)](#4.4)
[5. 团队协作应用](#5)
[5.1 分支设置](#5.1)
[5.2 普通开发人员的操作](#5.2)
[5.3 团队 leader 的操作](#5.3)
    [5.1 分支设置](#5.1)
    [5.2 普通开发人员的操作](#5.2)
    [5.3 团队 leader 的操作](#5.3)
[6. 结束语](#6)

---

<a name="1"></a>
# 1. Git 简介
Expand Down

0 comments on commit b518a74

Please sign in to comment.