diff --git a/pages/common/git-annotate.md b/pages/common/git-annotate.md index 9ad786ea60..16c02acdfd 100644 --- a/pages/common/git-annotate.md +++ b/pages/common/git-annotate.md @@ -12,3 +12,7 @@ - Print a file with the author email and commit hash prepended to each line: `git annotate -e {{path/to/file}}` + +- Print only rows that match a regular expression: + +`git annotate -L :{{regexp}} {{path/to/file}}`