From d077d546aba34a253d0d815fcea89788699e266b Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Mon, 16 Jan 2023 21:22:11 -0500 Subject: [PATCH] Add first submodule and scripts to update all submodules recursively --- .gitmodules | 3 +++ bolex_rewind_key | 1 + init.sh | 4 ++++ update.sh | 4 ++++ 4 files changed, 12 insertions(+) create mode 100644 .gitmodules create mode 160000 bolex_rewind_key create mode 100644 init.sh create mode 100644 update.sh diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1ba0367 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "bolex_rewind_key"] + path = bolex_rewind_key + url = https://git.sixteenmillimeter.com/modules/bolex_rewind_key.git diff --git a/bolex_rewind_key b/bolex_rewind_key new file mode 160000 index 0000000..3b6ab71 --- /dev/null +++ b/bolex_rewind_key @@ -0,0 +1 @@ +Subproject commit 3b6ab71e9bad1c136483235d45d81431b9c3321f diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..d705325 --- /dev/null +++ b/init.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "Cloning all submodules recursively..." +git submodule update --init --recursive \ No newline at end of file diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..0b38529 --- /dev/null +++ b/update.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "Updating all submodules recursively..." +git submodule update --recursive --remote \ No newline at end of file