File tree 1 file changed +6
-6
lines changed
text/09_Reviewing_History_Git_Log
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ can also make more specific requests:
6
6
7
7
$ git log v2.5.. # commits since (not reachable from) v2.5
8
8
$ git log test..master # commits reachable from master but not test
9
- $ git log master..test # ... reachable from test but not master
10
- $ git log master...test # ... reachable from either test or master,
11
- # but not both
9
+ $ git log master..test # commits reachable from test but not master
10
+ $ git log master...test # commits reachable from either test or
11
+ # master, but not both
12
12
$ git log --since="2 weeks ago" # commits from the last 2 weeks
13
- $ git log Makefile # commits which modify Makefile
14
- $ git log fs/ # ... which modify any file under fs/
15
- $ git log -S'foo()' # commits which add or remove any file data
13
+ $ git log Makefile # commits that modify Makefile
14
+ $ git log fs/ # commits that modify any file under fs/
15
+ $ git log -S'foo()' # commits that add or remove any file data
16
16
# matching the string 'foo()'
17
17
18
18
And of course you can combine all of these; the following finds
You can’t perform that action at this time.
0 commit comments