Skip to content

Instantly share code, notes, and snippets.

@occamist
Last active June 20, 2026 00:30
Show Gist options
  • Select an option

  • Save occamist/15e7224b8ba9c2b9a622fe6fd3c1fcc9 to your computer and use it in GitHub Desktop.

Select an option

Save occamist/15e7224b8ba9c2b9a622fe6fd3c1fcc9 to your computer and use it in GitHub Desktop.
new .gitconfig with ssh signing key
[user]
email = 22800416+occamist@users.noreply.github.com
name = Talha Altinel
signingkey = ~/.ssh/github.pub
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
insteadOf = http://github.com/
[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/
insteadOf = http://gitlab.com/
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[core]
editor = vim
[pull]
ff = only
[push]
autoSetupRemote = true
[init]
defaultBranch = main
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[commit]
gpgsign = true
[tag]
gpgSign = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment