diff options
authorvarac <>2017-02-16 10:13:56 +0100
committervarac <>2017-02-16 10:13:56 +0100
commit4d08d0586b02f92d8818665d37d0243e11177ff4 (patch)
parentacecc0f800e819a37519f6fcc284274721fd7416 (diff)
We dont use submodules anymore
1 files changed, 0 insertions, 38 deletions
diff --git a/git/ b/git/
deleted file mode 100755
index d680a94..0000000
--- a/git/
+++ /dev/null
@@ -1,38 +0,0 @@
-# how to use:
-# put all of this in some directory (eg. /home/micah/bin/ and then do this in the git submodule directory:
-# micah@minnow:~/leap/puppet/modules/apt$ git config alias.xpush "push && /home/micah/bin/"
-# use git xpush for pushing
-# this assumes a couple things:
-# 1. you do the commit in the top level of the submodule (not any subdirectory within)
-# 2. you have no local, uncomitted changes in your superproject when you do any submodule commit
-# exit on any error
-set -e
-# change this variable to your superproject checkout
-submodule_base=`basename $PWD`
-# check out the latest version of the superproject
-# note: this part is fragile, because if you have local, uncomitted changes in your superproject, then this pull will fail
-cd ${superproject}
-git pull
-git submodule update --init
-# check out latest version of submodule
-# according to
-cd ${superproject}/modules/${submodule}
-git remote update
-git merge origin/master
-# commit and push the submodule update commit
-cd ..
-git add $submodule
-git commit -m "automatic update of submodule $submodule_base"
-git push