summaryrefslogtreecommitdiff
path: root/src/content/tils/2020/08/16
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/08/16
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/08/16')
-rw-r--r--src/content/tils/2020/08/16/git-search.adoc6
1 files changed, 3 insertions, 3 deletions
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