From d36c2e459a74ec67e523539eb98b78b95b01432a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Apr 2025 11:20:43 -0300 Subject: src/content/: Normalize [source,$lang] code blocks --- src/content/tils/2020/08/16/git-search.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/tils/2020/08/16/git-search.adoc') diff --git a/src/content/tils/2020/08/16/git-search.adoc b/src/content/tils/2020/08/16/git-search.adoc index 26e617d..4113f3f 100644 --- a/src/content/tils/2020/08/16/git-search.adoc +++ b/src/content/tils/2020/08/16/git-search.adoc @@ -11,7 +11,7 @@ Here's a useful trio to know about to help you search things in git: Show a specific commit and it's diff: -[source,shell] +[source,sh] ---- git show # shows the latest commit @@ -25,7 +25,7 @@ git show v1.2 Search through the commit messages: -[source,shell] +[source,sh] ---- git log --grep='refactor' ---- @@ -36,7 +36,7 @@ git log --grep='refactor' Search content in git history: -[source,shell] +[source,sh] ---- git grep 'TODO' # search the repository for the "TODO" string -- cgit v1.2.3