summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2022/07/14/git-cleanup.adoc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-31 21:51:40 -0300
committerEuAndreh <eu@euandre.org>2025-03-31 21:51:40 -0300
commit570ec471d1605318aeefb030cd78682ae442235b (patch)
tree51e17eabe37c6689f8799b55e6875c3480329a2c /src/content/pastebins/2022/07/14/git-cleanup.adoc
parentMakefile, mkdeps.sh: Derive index.html and feed.xml from more static "sortdat... (diff)
downloadeuandre.org-570ec471d1605318aeefb030cd78682ae442235b.tar.gz
euandre.org-570ec471d1605318aeefb030cd78682ae442235b.tar.xz
src/content/: Update all files left to asciidoc
Diffstat (limited to 'src/content/pastebins/2022/07/14/git-cleanup.adoc')
-rw-r--r--src/content/pastebins/2022/07/14/git-cleanup.adoc19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/content/pastebins/2022/07/14/git-cleanup.adoc b/src/content/pastebins/2022/07/14/git-cleanup.adoc
index 52cd17f..b223f86 100644
--- a/src/content/pastebins/2022/07/14/git-cleanup.adoc
+++ b/src/content/pastebins/2022/07/14/git-cleanup.adoc
@@ -1,18 +1,7 @@
----
+= git-cleanup command
-title: git-cleanup command
-
-date: 2022-07-14
-
-layout: post
-
-lang: en
-
-ref: git-cleanup-command
-
----
-
-```
+[source,sh]
+----
#!/bin/sh
set -eu
@@ -67,4 +56,4 @@ shift $((OPTIND - 1))
git branch --merged |
grep -v -e '^\*' -e '^. main$' |
xargs git branch -d
-```
+----