File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
03-git-branching/sections Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ image::images/remote-branches-5.png[远程跟踪分支 `teamone/master`。]
60
60
==== 推送
61
61
62
62
(((pushing)))
63
- 当想要与公开分享一个分支时 ,需要将其推送到有写入权限的远程仓库上。
63
+ 当你想要公开分享一个分支时 ,需要将其推送到有写入权限的远程仓库上。
64
64
本地的分支并不会自动与远程仓库同步 - 你必须显式地推送想要分享的分支。
65
65
这样,你就可以把不愿意分享的内容放到私人分支上,而将需要和别人协作的内容推送到公开分支。
66
66
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Git 自带的一些脚本可以使在命令行下工作更容易。
5
5
本节的几个互交命令可以帮助你将文件的特定部分组合成提交。
6
6
当你修改一组文件后,希望这些改动能放到若干提交而不是混杂在一起成为一个提交时,这几个工具会非常有用。
7
7
通过这种方式,可以确保提交是逻辑上独立的变更集,同时也会使其他开发者在与你工作时很容易地审核。
8
- 如果运行 `git adds ` 时使用 `-i` 或者 `--interactive` 选项,Git 将会进入一个交互式终端模式,显示类似下面的东西:
8
+ 如果运行 `git add ` 时使用 `-i` 或者 `--interactive` 选项,Git 将会进入一个交互式终端模式,显示类似下面的东西:
9
9
10
10
[source,console]
11
11
----
You can’t perform that action at this time.
0 commit comments