carbon-core-system

Integration repository for versioned configuration and software on Carbon
git clone https://ccx.te2000.cz/git/carbon-core-system
Log | Files | Refs | Submodules

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:
Aclean | 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