commit ffbab6a24f0ec8f066a347f72401c0ac9b9931be parent 07e995e1a5baaa8f855bb9774c1fc87cd2320130 Author: ccx <root@dorje.wpr.cz> Date: Wed, 10 Mar 2021 21:18:03 +0100 Add script to clean submodule data. Diffstat:
A | clean | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/clean b/clean @@ -0,0 +1,7 @@ +#!/bin/sh +set -x + +for sm in package; do + git submodule update --force --recursive "$sm" + ( cd "$sm" && git checkout --force && git clean -fx ) +done