diff options
author | xyz <gky44px1999@gmail.com> | 2021-07-22 14:09:06 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-07-22 14:09:06 -0700 |
commit | 73daee01240cc456fb637dda3b372a0530856a55 (patch) | |
tree | 15a12cd2472e6ad21949be2266551ae656b066a9 /.local/bin/gitpu | |
parent | 3810ef6036bdd3912773145d2acb1bb79848e945 (diff) |
git pull upstream script
Diffstat (limited to '.local/bin/gitpu')
-rwxr-xr-x | .local/bin/gitpu | 10 |
1 files changed, 10 insertions, 0 deletions
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 |