Commit 3b46cbe (May 15 "update") added two hardcoded /home/stan/ paths to git/.gitconfig that will break on any account that isn't stan.
1. signingkey = /home/stan/.ssh/id_ed25519.pub
Git supports ~ in user.signingKey for the SSH format. Change to:
- signingkey = /home/stan/.ssh/id_ed25519.pub
+ signingkey = ~/.ssh/id_ed25519.pub
This fix is included in the open PR against branch claude/nice-cori-Jr1p4.
2. [safe] directory = /home/stan/nixos
The [safe] directory whitelist is inherently machine-specific (it whitelists directories not owned by the current user). This entry will silently do nothing on other machines and is noise in the shared config. Consider moving machine-specific [safe] entries to ~/.gitconfig.local (included via [include]) instead of tracking them in the repo.
No patch for item 2 — left to your discretion.
Commit
3b46cbe(May 15 "update") added two hardcoded/home/stan/paths togit/.gitconfigthat will break on any account that isn'tstan.1.
signingkey = /home/stan/.ssh/id_ed25519.pubGit supports
~inuser.signingKeyfor the SSH format. Change to:This fix is included in the open PR against branch
claude/nice-cori-Jr1p4.2.
[safe] directory = /home/stan/nixosThe
[safe]directory whitelist is inherently machine-specific (it whitelists directories not owned by the current user). This entry will silently do nothing on other machines and is noise in the shared config. Consider moving machine-specific[safe]entries to~/.gitconfig.local(included via[include]) instead of tracking them in the repo.No patch for item 2 — left to your discretion.