diff options
author | Sven Gothel <[email protected]> | 2015-03-27 23:27:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-27 23:27:20 +0100 |
commit | c9e3db639d9a451cdb34d777a01d104cbcfc8bf6 (patch) | |
tree | 3c11071ecddba7ec69523c86068989b71a52ca05 /git | |
parent | 9e8c671e873cfa9f2834a48d4aa0a2170683dcfd (diff) |
a few more git scripts ..
Diffstat (limited to 'git')
-rwxr-xr-x | git/git-find-symbolic_links.sh | 3 | ||||
-rwxr-xr-x | git/git-forallrepos-checkout.sh | 10 | ||||
-rwxr-xr-x | git/git-forallrepos-push.sh | 10 | ||||
-rwxr-xr-x | git/git-forallrepos-showbranchl.sh | 10 | ||||
-rwxr-xr-x | git/git-forallrepos-status.sh | 10 |
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 |