From ce548cb29c5271873cc4c8f112db1dd421ecb88f Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 22 Jul 2026 12:32:59 -0400 Subject: [PATCH] update CONTRIBUTING for submodule recurse option recommendation --- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 78565aee3..442ad4d21 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,6 +14,12 @@ git clone --recurse-submodules https://github.com/AvengeMedia/DankMaterialShell. git submodule update --init ``` +To have `git pull` keep the submodule in sync automatically (moving it to the commit this repo points at, no separate `git submodule update` step), set: + +```bash +git config submodule.recurse true +``` + Install [prek](https://prek.j178.dev/) then activate pre-commit hooks: ```bash