File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,16 @@ SYNOPSIS
12
12
13
13
DESCRIPTION
14
14
-----------
15
- Shows the commit logs. This command internally invokes
16
- 'git-rev-list', and the command line options are passed to that
17
- command.
15
+ Shows the commit logs.
16
+
17
+ The command takes options applicable to the gitlink::git-rev-list[1]
18
+ command to control what is shown and how, and options applicable to
19
+ the gitlink::git-diff-tree[1] commands to control how the change
20
+ each commit introduces are shown.
21
+
22
+ This manual page describes only the most frequently used
23
+ options.
18
24
19
- This manual page describes only the most frequently used options.
20
25
21
26
OPTIONS
22
27
-------
@@ -29,6 +34,12 @@ OPTIONS
29
34
<since>..<until>::
30
35
Show only commits between the named two commits.
31
36
37
+ -p::
38
+ Show the change the commit introduces in a patch form.
39
+
40
+ <paths>...::
41
+ Show only commits that affect the specified paths.
42
+
32
43
33
44
Examples
34
45
--------
@@ -47,6 +58,11 @@ git log --since="2 weeks ago" -- gitk::
47
58
The "--" is necessary to avoid confusion with the *branch* named
48
59
'gitk'
49
60
61
+ git log -r --name-status release..test::
62
+
63
+ Show the commits that are in the "test" branch but not yet
64
+ in the "release" branch, along with the list of paths
65
+ each commit modifies.
50
66
51
67
Author
52
68
------
You can’t perform that action at this time.
0 commit comments