Skip to content

Add templated ~/.gitconfig with 1Password SSH commit signing - #78

Merged
conallob merged 3 commits into
mainfrom
claude/intelligent-mccarthy-8e4jw2
Oct 21, 2026
Merged

conallob merged 3 commits into
mainfrom
claude/intelligent-mccarthy-8e4jw2

Conversation

@conallob

Copy link
Copy Markdown
Owner

Adds dot_gitconfig.tmpl (deployed to ~/.gitconfig).

  • [user] signingkey is read from 1Password at apply time (onepasswordDetailsFields, public_key field), using the work SSH key item when isWorkAccount is true and the personal one otherwise.
  • [user] email is conall@andromeda.ai on work accounts, conall@conall.net otherwise.
  • [gpg] format = ssh and [commit] gpgsign = true on every platform.
  • macOS only: [gpg "ssh"] program (1Password's op-ssh-sign) and the gh credential helpers for github.com and gist.github.com, since both point at macOS paths.

The existing dot_git/gitconfig (deployed to ~/.git/gitconfig, which git doesn't read) is left untouched.


Generated by Claude Code

Comment thread dot_gitconfig.tmpl Outdated
@conallob
conallob merged commit 4272ac3 into main Oct 21, 2026
12 checks passed
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