summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/gitpu
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-10-25 06:45:08 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-10-25 06:45:08 +0000
commite4db0b25bf6540386e737594a47cb92a83c0cbea (patch)
tree70f85967663aa539fabe40e40803fa638acfae00 /home/xyz/.local/bin/gitpu
parent12bda1ac3390f2d16a401d895faf0ef2418f874c (diff)
update
Diffstat (limited to 'home/xyz/.local/bin/gitpu')
-rwxr-xr-xhome/xyz/.local/bin/gitpu19
1 files changed, 0 insertions, 19 deletions
diff --git a/home/xyz/.local/bin/gitpu b/home/xyz/.local/bin/gitpu
deleted file mode 100755
index fcc32be9..00000000
--- a/home/xyz/.local/bin/gitpu
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-if [ -z "$1" ]; then
- git checkout master
- git pull upstream master
- git push
- git checkout fly
- git merge --no-edit master
- git push
-else
- for dir ; do
- git -C "$dir" checkout master
- git -C "$dir" pull upstream master
- git -C "$dir" push
- git -C "$dir" checkout fly
- git -C "$dir" merge --no-edit master
- git -C "$dir" push
- done
-fi