mirror of
https://github.com/namibia/tips.git
synced 2024-11-13 16:56:30 +00:00
Exclude author from logs
This commit is contained in:
parent
e6bbc59418
commit
2b772cda5b
@ -152,6 +152,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
|
||||
* [Preformatted patch file.](#preformatted-patch-file)
|
||||
* [Get the repo name.](#get-the-repo-name)
|
||||
* [logs between date range](#logs-between-date-range)
|
||||
* [Exclude author from logs](#exclude-author-from-logs)
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end toc -->
|
||||
@ -1038,5 +1039,11 @@ git rev-parse --show-toplevel
|
||||
git log --since='FEB 1 2017' --until='FEB 14 2017'
|
||||
```
|
||||
|
||||
## Exclude author from logs
|
||||
```sh
|
||||
git log --perl-regexp --author='^((?!excluded-author-regex).*)
|
||||
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
Loading…
Reference in New Issue
Block a user