summaryrefslogtreecommitdiff
path: root/src/content/tils/2020/10/11/search-git-history.adoc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-16 11:20:43 -0300
committerEuAndreh <eu@euandre.org>2025-04-16 11:20:43 -0300
commitd36c2e459a74ec67e523539eb98b78b95b01432a (patch)
treea7099fbfbdab6a21f59b6efe095bffb40ceae646 /src/content/tils/2020/10/11/search-git-history.adoc
parentsrc/content/style.css: Show header on hover only (diff)
downloadeuandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.gz
euandre.org-d36c2e459a74ec67e523539eb98b78b95b01432a.tar.xz
src/content/: Normalize [source,$lang] code blocks
Diffstat (limited to 'src/content/tils/2020/10/11/search-git-history.adoc')
-rw-r--r--src/content/tils/2020/10/11/search-git-history.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/tils/2020/10/11/search-git-history.adoc b/src/content/tils/2020/10/11/search-git-history.adoc
index 06df9dc..696368c 100644
--- a/src/content/tils/2020/10/11/search-git-history.adoc
+++ b/src/content/tils/2020/10/11/search-git-history.adoc
@@ -15,7 +15,7 @@ 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,shell]
+[source,sh]
----
git log -- *pattern*
----
@@ -23,7 +23,7 @@ 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,shell]
+[source,sh]
----
git log -p -- **/*pattern*
----