summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit/push-b7j0c-tags2
-rwxr-xr-xgit/push-git13
-rwxr-xr-xgit/push-grokloc4
3 files changed, 13 insertions, 6 deletions
diff --git a/git/push-b7j0c-tags b/git/push-b7j0c-tags
deleted file mode 100755
index f11383c..0000000
--- a/git/push-b7j0c-tags
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-git push --tags github master; git push --tags gitlab master; git push --tags b7j0c master; git push --tags sr.ht master; git push --tags codeberg master
diff --git a/git/push-git b/git/push-git
new file mode 100755
index 0000000..7e205f2
--- /dev/null
+++ b/git/push-git
@@ -0,0 +1,13 @@
+#!/usr/bin/env fish
+
+set branch "master"
+if set -q argv[1]
+ set branch argv[1]
+end
+echo "push to: $branch"
+
+git push b7j0c $branch
+git push github $branch
+git push sr.ht $branch
+git push codeberg $branch
+
diff --git a/git/push-grokloc b/git/push-grokloc
deleted file mode 100755
index 7d86bfa..0000000
--- a/git/push-grokloc
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-git push github master
-git push sr.ht master
-git push grokloc master