From 061347b863955b9a0a66e25eb5c64e7a49c55d12 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 11 Oct 2020 12:54:45 -0300 Subject: Git search TIL: Fix typo in code example --- _tils/2020-10-11-search-changes-to-a-filename-pattern-in-git-history.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_tils') diff --git a/_tils/2020-10-11-search-changes-to-a-filename-pattern-in-git-history.md b/_tils/2020-10-11-search-changes-to-a-filename-pattern-in-git-history.md index 07f5405..264d1bd 100644 --- a/_tils/2020-10-11-search-changes-to-a-filename-pattern-in-git-history.md +++ b/_tils/2020-10-11-search-changes-to-a-filename-pattern-in-git-history.md @@ -25,7 +25,7 @@ You could add globs before the pattern to match things on any directory, and add our `-p` friend to promptly see the diffs: ```shell -git log - -- **/*pattern* +git log -p -- **/*pattern* ``` [git-til-1]: {% link _tils/2020-08-14-browse-a-git-repository-at-a-specific-commit.md %} -- cgit v1.2.3