mirror of
https://github.com/namibia/tips.git
synced 2024-05-30 00:41:11 +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)
|
* [Preformatted patch file.](#preformatted-patch-file)
|
||||||
* [Get the repo name.](#get-the-repo-name)
|
* [Get the repo name.](#get-the-repo-name)
|
||||||
* [logs between date range](#logs-between-date-range)
|
* [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>. -->
|
<!-- 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 -->
|
<!-- @doxie.inject end toc -->
|
||||||
|
@ -1038,5 +1039,11 @@ git rev-parse --show-toplevel
|
||||||
git log --since='FEB 1 2017' --until='FEB 14 2017'
|
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>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
|
|
@ -446,4 +446,7 @@
|
||||||
}, {
|
}, {
|
||||||
"title": "logs between date range",
|
"title": "logs between date range",
|
||||||
"tip": "git log --since='FEB 1 2017' --until='FEB 14 2017'"
|
"tip": "git log --since='FEB 1 2017' --until='FEB 14 2017'"
|
||||||
|
}, {
|
||||||
|
"title": "Exclude author from logs",
|
||||||
|
"tip": "git log --perl-regexp --author='^((?!excluded-author-regex).*)$'"
|
||||||
}]
|
}]
|
Loading…
Reference in New Issue
Block a user