From 73daee01240cc456fb637dda3b372a0530856a55 Mon Sep 17 00:00:00 2001 From: xyz Date: Thu, 22 Jul 2021 14:09:06 -0700 Subject: git pull upstream script --- .local/bin/gitpu | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .local/bin/gitpu (limited to '.local/bin') diff --git a/.local/bin/gitpu b/.local/bin/gitpu new file mode 100755 index 00000000..b77d8eab --- /dev/null +++ b/.local/bin/gitpu @@ -0,0 +1,10 @@ +#!/bin/sh + +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 -- cgit v1.2.3-70-g09d2