From 61ffa8466bbfa4ca8b13b442a3bd63ef9504a6da Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 30 Apr 2025 06:23:27 -0300 Subject: src/content/en/: Unpluralize collection names --- .../en/tils/2020/10/11/search-git-history.adoc | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/content/en/tils/2020/10/11/search-git-history.adoc (limited to 'src/content/en/tils/2020/10/11') diff --git a/src/content/en/tils/2020/10/11/search-git-history.adoc b/src/content/en/tils/2020/10/11/search-git-history.adoc deleted file mode 100644 index 696368c..0000000 --- a/src/content/en/tils/2020/10/11/search-git-history.adoc +++ /dev/null @@ -1,29 +0,0 @@ -= Search changes to a filename pattern in Git history -:categories: git - -:yet: link:../../08/14/browse-git.html -:another: link:../../08/16/git-search.html -:entry: link:../../08/28/grep-online.html - -This is {yet}[yet] {another}[another] {entry}["search in Git"] TIL entry. You -could say that Git has a unintuitive CLI, or that is it very powerful. - -I wanted to search for an old file that I new that was in the history of the -repository, but was deleted some time ago. So I didn't really remember the -name, only bits of it. - -I immediately went to the list of TILs I had written on searching in Git, but it -wasn't readily obvious how to do it, so here it goes: - -[source,sh] ----- -git log -- *pattern* ----- - -You could add globs before the pattern to match things on any directory, and add -our `-p` friend to promptly see the diffs: - -[source,sh] ----- -git log -p -- **/*pattern* ----- -- cgit v1.2.3