Skip to content

Commit 7e8814d

Browse files
ryan4yinnetworm
authored andcommitted
撤销 Git 命令输出的翻译
1 parent ecad18e commit 7e8814d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

book/02-git-basics/sections/tagging.asc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,18 +235,18 @@ To /[email protected]:schacon/simplegit.git
235235
[source,console]
236236
----
237237
$ git checkout 2.0.0
238-
注意: 正在检出 '2.0.0'
238+
Note: checking out '2.0.0'.
239239
240-
您正处于分离头指针状态。您可以查看、做试验性的修改及提交,并且您可以通过另外
241-
的检出分支操作丢弃在这个状态下所做的任何提交。
240+
You are in 'detached HEAD' state. You can look around, make experimental
241+
changes and commit them, and you can discard any commits you make in this
242+
state without impacting any branches by performing another checkout.
242243
244+
If you want to create a new branch to retain commits you create, you may
245+
do so (now or later) by using -b with the checkout command again. Example:
243246
244-
如果您想要通过创建分支来保留在此状态下所做的提交,您可以通过在检出命令添加
245-
参数 -b 来实现(现在或稍后)。例如:
247+
git checkout -b <new-branch>
246248
247-
git checkout -b <新分支名>
248-
249-
HEAD 目前位于 99ada87... Merge pull request #89 from schacon/appendix-final
249+
HEAD is now at 99ada87... Merge pull request #89 from schacon/appendix-final
250250
251251
$ git checkout 2.0-beta-0.1
252252
Previous HEAD position was 99ada87... Merge pull request #89 from schacon/appendix-final

0 commit comments

Comments
 (0)