projects
/
wrapfs-mgmt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ab3f2
)
update scripts
author
ezk
<ezk>
Sun, 3 Feb 2019 12:02:01 +0000
(12:02 +0000)
committer
ezk
<ezk>
Sun, 3 Feb 2019 12:02:01 +0000
(12:02 +0000)
git-push2.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/git-push2.sh
b/git-push2.sh
new file mode 100755
(executable)
index 0000000..
e6be8b8
--- /dev/null
+++ b/
git-push2.sh
@@ -0,0
+1,16
@@
+#!/bin/sh
+set -x
+
+if test -n "$1" ; then
+ DIRS="$@"
+else
+ DIRS="."
+fi
+
+for d in $DIRS ; do
+ (
+ cd "$d"
+ git push || git push -f
+ git push --tags || git push -f --tags
+ )
+done