File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
152
152
* [ Preformatted patch file.] ( #preformatted-patch-file )
153
153
* [ Get the repo name.] ( #get-the-repo-name )
154
154
* [ logs between date range] ( #logs-between-date-range )
155
+ * [ Exclude author from logs] ( #exclude-author-from-logs )
155
156
156
157
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
157
158
<!-- @doxie.inject end toc -->
@@ -1038,5 +1039,11 @@ git rev-parse --show-toplevel
1038
1039
git log --since=' FEB 1 2017' --until=' FEB 14 2017'
1039
1040
```
1040
1041
1042
+ ## Exclude author from logs
1043
+ ``` sh
1044
+ git log --perl-regexp --author=' ^((?!excluded-author-regex).*)
1045
+
1046
+ ```
1047
+
1041
1048
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
1042
1049
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 446
446
}, {
447
447
"title" : " logs between date range" ,
448
448
"tip" : " git log --since='FEB 1 2017' --until='FEB 14 2017'"
449
+ }, {
450
+ "title" : " Exclude author from logs" ,
451
+ "tip" : " git log --perl-regexp --author='^((?!excluded-author-regex).*)$'"
449
452
}]
You can’t perform that action at this time.
0 commit comments