diff --git a/book/A-git-in-other-environments/sections/guis.asc b/book/A-git-in-other-environments/sections/guis.asc index 24d359ab..8063d010 100644 --- a/book/A-git-in-other-environments/sections/guis.asc +++ b/book/A-git-in-other-environments/sections/guis.asc @@ -58,7 +58,8 @@ image::images/git-gui.png[`git-gui` 提交工具。] 右侧窗口的上方以 diff 格式来显示当前选中文件发生了变动的地方。 你可以通过右击某一区块或行从而将这一区块或行放入暂存区。 -右侧窗口的下方是写日志和执行操作的地方。在文本框中键入日志然后点击 ``提交'' 就和执行 `git commit` 的效果差不多。 +右侧窗口的下方是写日志和执行操作的地方。 +在文本框中键入日志然后点击 ``提交'' 就和执行 `git commit` 的效果差不多。 如果你想要修订上一次提交, 可以选中``修订'' 按钮,上次一提交的内容就会显示在 ``暂存区''。 然后你就可以简单的对修改进行暂存和取消暂存操作,更新提交日志,然后再次点击 ``提交'' 用这个新的提交来覆盖上一次提交。 diff --git a/book/A-git-in-other-environments/sections/powershell.asc b/book/A-git-in-other-environments/sections/powershell.asc index 69f8f883..7608f36c 100644 --- a/book/A-git-in-other-environments/sections/powershell.asc +++ b/book/A-git-in-other-environments/sections/powershell.asc @@ -4,7 +4,8 @@ (((powershell)))(((tab completion, powershell)))(((shell prompts, powershell))) (((posh-git))) Windows 中的普通命令行终端 (`cmd.exe`) 无法自定义 Git 使用体验,但是如果你正在使用 Powershell,那么你就十分幸运了。 -一个名为 Posh-Git (https://github.com/dahlbyk/posh-git[]) 的扩展包提供了强大的 tab 补全功能, 并针对提示符进行了增强,以帮助你聚焦于你的仓库状态。它看起来像: +一个名为 Posh-Git (https://github.com/dahlbyk/posh-git[]) 的扩展包提供了强大的 tab 补全功能, 并针对提示符进行了增强,以帮助你聚焦于你的仓库状态。 +它看起来像: .附带了 Posh-Git 扩展包的 Powershell。 image::images/posh-git.png[附带了 Posh-Git 扩展包的 Powershell。] diff --git a/book/A-git-in-other-environments/sections/zsh.asc b/book/A-git-in-other-environments/sections/zsh.asc index 4282e738..c52d694b 100644 --- a/book/A-git-in-other-environments/sections/zsh.asc +++ b/book/A-git-in-other-environments/sections/zsh.asc @@ -29,7 +29,8 @@ setopt prompt_subst export RPROMPT=$'$(__git_ps1 "%s")' ---- -当你的命令行位于一个 Git 仓库目录时,在任何时候,都可以在命令行窗口右侧显示当前分支。看起来像这样: +当你的命令行位于一个 Git 仓库目录时,在任何时候,都可以在命令行窗口右侧显示当前分支。 +它看起来像这样: .自定义 `zsh` 提示符. image::images/zsh-prompt.png[自定义 `zsh` 提示符.]