Skip to content

Commit 21dea47

Browse files
Sherry520networm
authored andcommitted
更正 curl 命令参数
1 parent 2149fda commit 21dea47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/10-git-internals/sections/maintenance.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Git 有很多很棒的功能,但是其中一个特性会导致问题,`git cl
197197

198198
[source,console]
199199
----
200-
$ curl https://www.kernel.org/pub/software/scm/git/git-2.1.0.tar.gz > git.tgz
200+
$ curl -L https://www.kernel.org/pub/software/scm/git/git-2.1.0.tar.gz > git.tgz
201201
$ git add git.tgz
202202
$ git commit -m 'add git tarball'
203203
[master 7b30847] add git tarball

0 commit comments

Comments
 (0)