summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit/git-find-symbolic_links.sh3
-rwxr-xr-xgit/git-forallrepos-checkout.sh10
-rwxr-xr-xgit/git-forallrepos-push.sh10
-rwxr-xr-xgit/git-forallrepos-showbranchl.sh10
-rwxr-xr-xgit/git-forallrepos-status.sh10
5 files changed, 43 insertions, 0 deletions
diff --git a/git/git-find-symbolic_links.sh b/git/git-find-symbolic_links.sh
new file mode 100755
index 0000000..65cb5f9
--- /dev/null
+++ b/git/git-find-symbolic_links.sh
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+git ls-files -s $* | awk '/120000/{print $4}'
diff --git a/git/git-forallrepos-checkout.sh b/git/git-forallrepos-checkout.sh
new file mode 100755
index 0000000..b026cb1
--- /dev/null
+++ b/git/git-forallrepos-checkout.sh
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+for i in gluegen jcpp joal joal-demos jogl oculusvr-sdk jogl-demos jocl jocl-demos ; do
+ cd $i
+ echo
+ echo MODULE $i
+ echo
+ git checkout master
+ cd ..
+done
diff --git a/git/git-forallrepos-push.sh b/git/git-forallrepos-push.sh
new file mode 100755
index 0000000..cf9b9b6
--- /dev/null
+++ b/git/git-forallrepos-push.sh
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+for i in gluegen jcpp joal joal-demos jogl oculusvr-sdk jogl-demos jocl jocl-demos ; do
+ cd $i
+ echo
+ echo MODULE $i
+ echo
+ git-jogl-push.sh $*
+ cd ..
+done
diff --git a/git/git-forallrepos-showbranchl.sh b/git/git-forallrepos-showbranchl.sh
new file mode 100755
index 0000000..2f2010d
--- /dev/null
+++ b/git/git-forallrepos-showbranchl.sh
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+for i in gluegen jcpp joal joal-demos jogl oculusvr-sdk jogl-demos jocl jocl-demos ; do
+ cd $i
+ echo
+ echo MODULE $i
+ echo
+ git branch -v
+ cd ..
+done
diff --git a/git/git-forallrepos-status.sh b/git/git-forallrepos-status.sh
new file mode 100755
index 0000000..b10876d
--- /dev/null
+++ b/git/git-forallrepos-status.sh
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+for i in gluegen jcpp joal joal-demos jogl oculusvr-sdk jogl-demos jocl jocl-demos ; do
+ cd $i
+ echo
+ echo MODULE $i
+ echo
+ git status
+ cd ..
+done