summaryrefslogtreecommitdiff
path: root/cleanGit.sh
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-10-20 10:13:21 +0200
committercyBerta <cyberta@riseup.net>2018-10-20 10:13:21 +0200
commit9b88523f1d35e76daf7345a4b90e399eca4179c5 (patch)
treedb9b1846dfb83d9d87177a763028f44f0a395316 /cleanGit.sh
parentc587b88ea0e12157ec5d509f43a57fa6e0f06e7e (diff)
force git submodule sync
Diffstat (limited to 'cleanGit.sh')
-rwxr-xr-xcleanGit.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cleanGit.sh b/cleanGit.sh
new file mode 100755
index 00000000..3c0b9271
--- /dev/null
+++ b/cleanGit.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+#git clean -xfd
+#git submodule foreach --recursive git clean -xfd
+#git reset --hard
+#git submodule foreach --recursive git reset --hard
+git --version
+git submodule sync --recursive
+git submodule update --init --recursive