Skip to content

Commit 0318cf5

Browse files
committed
Fix example output of "git clone"
"git clone" does not say "Initialized empty Git repository" (it may have done so in very old versions), but "cloning into '$repo'". Reflect this in the examples. Noticed by Tim Castelijns: http://stackoverflow.com/questions/32580578/why-the-git-commit-am-command-is-working-with-untraked-file-in-the-documenta
1 parent e2d5bbc commit 0318cf5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

book/05-distributed-git/sections/contributing.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The first developer, John, clones the repository, makes a change, and commits lo
108108
----
109109
# John's Machine
110110
$ git clone john@githost:simplegit.git
111-
Initialized empty Git repository in /home/john/simplegit/.git/
111+
Cloning into 'simplegit'...
112112
...
113113
$ cd simplegit/
114114
$ vim lib/simplegit.rb
@@ -123,7 +123,7 @@ The second developer, Jessica, does the same thing – clones the repository and
123123
----
124124
# Jessica's Machine
125125
$ git clone jessica@githost:simplegit.git
126-
Initialized empty Git repository in /home/jessica/simplegit/.git/
126+
Cloning into 'simplegit'...
127127
...
128128
$ cd simplegit/
129129
$ vim TODO

book/07-git-tools/sections/bundling.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ You can clone from the binary file into a directory, much like you would from a
5656
[source,console]
5757
----
5858
$ git clone repo.bundle repo
59-
Initialized empty Git repository in /private/tmp/bundle/repo/.git/
59+
Cloning into 'repo'...
60+
...
6061
$ cd repo
6162
$ git log --oneline
6263
9a466c5 second commit

0 commit comments

Comments
 (0)