23 lines
1.3 KiB
Markdown
23 lines
1.3 KiB
Markdown
---
|
|
name: reclone-submodule-creds
|
|
description: Re-cloning claudetools (now submodule-based) needs credential.helper set GLOBALLY or submodule init fails
|
|
metadata:
|
|
type: feedback
|
|
---
|
|
|
|
When re-cloning the restructured `claudetools` (history rewritten 2026-06-18; projects
|
|
are now git submodules under `projects/`), `git submodule update --init --recursive`
|
|
fails for every `https://git.azcomputerguru.com` submodule with **"could not read
|
|
Username ... terminal prompts disabled"** — even though the top-level clone succeeded and
|
|
`~/.git-credentials` already holds `azcomputerguru` creds.
|
|
|
|
**Why:** `credential.helper=store` set *locally on the superproject* does NOT propagate to
|
|
the child `git clone` processes that submodule recursion spawns (they run in fresh repos).
|
|
|
|
**How to apply:** before the recursive submodule init, run
|
|
`git config --global credential.helper store` (the single `~/.git-credentials` line covers
|
|
`git.azcomputerguru.com`). Then `git submodule update --init --recursive` populates all 23.
|
|
Also: a fresh clone has empty git `user.name`/`user.email` — `sync.sh` auto-corrects from
|
|
`identity.json`, but set them if running git before first sync. Re-clone steps: `RECLONE.md`
|
|
at repo root; pre-split bundle on Jupiter `\\172.16.3.20\Backups\Gitea-Storage`.
|