tutorial: replace "whatchanged" by "log"
Junio suggested changing references to git-whatchanged to git-log. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
J. Bruce Fields committed
May 21, 2006 at 16:52 UTC
67e6e5c4e79895b34d0d47ef71e1d882f06fb6f7
1 file changed
+6
-6
Documentation/tutorial.txt
+6
-6
@@ -80,13 +80,13 @@ file; just remove it, then commit.
80
At any point you can view the history of your changes using
81
82
------------------------------------------------
83
-$ git whatchanged
83
+$ git log
84
------------------------------------------------
85
86
If you also want to see complete diffs at each step, use
87
88
------------------------------------------------
89
-$ git whatchanged -p
89
+$ git log -p
90
------------------------------------------------
91
92
Managing branches
@@ -216,7 +216,7 @@ This actually pulls changes from the branch in Bob's repository named
216
"master". Alice could request a different branch by adding the name
217
of the branch to the end of the git pull command line.
218
219
-This merges Bob's changes into her repository; "git whatchanged" will
219
+This merges Bob's changes into her repository; "git log" will
220
now show the new commits. If Alice has made her own changes in the
221
meantime, then Bob's changes will be merged in, and she will need to
222
manually fix any conflicts.
@@ -234,7 +234,7 @@ named bob-incoming. (Unlike git pull, git fetch just fetches a copy
234
of Bob's line of development without doing any merging). Then
235
236
-------------------------------------
237
-$ git whatchanged -p master..bob-incoming
237
+$ git log -p master..bob-incoming
238
-------------------------------------
239
240
shows a list of all the changes that Bob made since he branched from
@@ -330,13 +330,13 @@ But you may find it more useful to see the list of commits made in
330
the experimental branch but not in the current branch, and
331
332
-------------------------------------
333
-git whatchanged HEAD..experimental
333
+git log HEAD..experimental
334
-------------------------------------
335
336
will do that, just as
337
338
-------------------------------------
339
-git whatchanged experimental..HEAD
339
+git log experimental..HEAD
340
-------------------------------------
341
342
will show the list of commits made on the HEAD but not included in