Skip to content

docs: document branch-per-OS structure and fix clone path - #1

Draft
LJLee37 wants to merge 1 commit into
masterfrom
claude/settingfiles-restructure-raspi-arch-uk2buw
Draft

docs: document branch-per-OS structure and fix clone path#1
LJLee37 wants to merge 1 commit into
masterfrom
claude/settingfiles-restructure-raspi-arch-uk2buw

Conversation

@LJLee37

@LJLee37 LJLee37 commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Part of a repo-wide cleanup (companion PRs going into arch, macOS, ubuntu, alpine, raspi, plus a new raspi-arch branch — see that PR for the Arch Linux ARM install).

README.md was byte-identical on all 6 branches with zero explanation of why this repo uses one branch per OS instead of directories. This PR (on master, the common base):

  • Adds a branch table (purpose + notes) so a reader immediately understands the layout.
  • Documents that .vimrc is byte-identical across every branch, and that the bulk of .zshrc is shared too (only a small OS-specific tail differs — PATH, keychain/GPG setup, plugins). master is called out as the canonical source for these shared files; since branches can't share a physical file at runtime without adding tooling (e.g. Stow, submodules) that's disproportionate for a personal dotfiles repo, the "single source of truth" here is enforced by convention + documentation, not by symlinks. Shared content itself is untouched.
  • Fixes the clone command to git clone -b <branch> ... ~/gitRepos/settingfiles — previously README said ~/gitRepos/settingfiles but arch and raspi's set.sh hard-coded ~/gitRepos/Personal/settingfiles, so following the README broke those two branches' setup scripts. Standardized on ~/gitRepos/settingfiles (matches README and 4 of the 6 branches already); arch/raspi fixed in their own PRs.

Hardcoded personal values (found repo-wide, left untouched)

Not removed or parameterized per the task — listing them here for the repo owner to decide whether to keep, parameterize, or move to a local-only config:

  • git identity: user.name "LJLee37", user.email "ljlee3759@gmail.com" (arch/set.sh, raspi/install.sh)
  • GPG signing key 8090E75C56E49652 (raspi/install.sh)
  • SSH host/port rpi.ljlee37.com / -P 3759 (arch/set.sh)
  • Hostname LJLeeLT, username ljlee (arch/install2.sh)
  • Hibernate resume disk UUID bc22c8a5-306c-4ad3-81c3-753aff6f562d (arch/set-hibernate.sh)
  • LAN backup destination 192.168.35.203 (raspi/backup.sh)
  • keychain --agents ssh --eval ljlee_id (shared .zshrc, all branches that include it)
  • Locale list incl. ko_KR/ja_JP/eo (arch/install2.sh)

Test plan

  • README.md renders correctly and the clone command works as documented
  • No other files changed on this branch (docs-only)

Generated by Claude Code

README was byte-identical across all 6 branches with no explanation of
why, and pointed at ~/gitRepos/settingfiles while arch/raspi's set.sh
hard-coded ~/gitRepos/Personal/settingfiles. Document the branch
layout, note master as the canonical source for shared dotfiles, and
standardize the clone path (fixed in each branch's set.sh separately).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants