Add 1Password SSH Key support to Git
This commit is contained in:
parent
033a722ec5
commit
7d43099d76
1 changed files with 48 additions and 33 deletions
|
@ -1,12 +1,13 @@
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
editor = /usr/local/bin/nvim
|
editor = nvim
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
fileMode = false
|
fileMode = false
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Max Bucknell
|
name = Max Bucknell
|
||||||
email = me@maxbucknell.com
|
email = me@maxbucknell.com
|
||||||
|
signingkey = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHQK3AUkoorhSGqIICrSRYJJ8XCF1sKJ45CEwHLQePpBCZfCty4dbhqVTWFbyDcL1P1kKTcoljg0JmyjjJPM9IUTjFD1ruGU2rAB7aTZ4s5j2x6kVTdNyGnHOn8wy/tJC5O6R2sDjcbJWuIAw3q47bpZ8Ro/ehvvZSYJ3U+sb8kZ9XstoNDhanego4NTFd3D9F6RWJGn11/+NGuhKDq5S0knnOcC80QLgdMyVI/t/mgIWfUjAa48FUBj/ofC93a7cJLPE3bMBiUV7B2K9lPrymvQzGo+5whHmvS580cAB6y3XJodqWSocrfKZO5b8WwqjcLcVQ3u+qg9M+DUaP9fvlGs/MDsG+pyImxvsy9FL4CSUF6UB4X6bBuz4zf0p2icbdtm5/tlApw9sH6GmC+t/6514L2tqpo88puXUof4H53EcaWY/RSvb2exKCa7DOq13DgD0E2EZl6rOAezy3mvUuX7b3plMtKZ5keQEINyqclqb/1BRuHEYssh84Wmr4G2wRdbX6IYCU5KCJ6HqVL3YFv6zA5YFKqgBYA3/APsduCGawT204cG1juSQvA+VF5Le4P9L717Imawa8Se/1ROiafCPrxGEp3fHFM+D7OQAy3y0wn1yeSwNdRAyHZsLEVozJ4KSwWBCfnV0TgptgTqBMlbLYwaisnIS3Z/ZH5ziJXQ==
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
dc = diff --staged
|
dc = diff --staged
|
||||||
|
@ -27,6 +28,7 @@
|
||||||
whodunnit = blame
|
whodunnit = blame
|
||||||
peek = log -1
|
peek = log -1
|
||||||
wip = commit -m 'wip' --no-verify
|
wip = commit -m 'wip' --no-verify
|
||||||
|
unwip = reset --soft HEAD~1
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
@ -46,3 +48,16 @@
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[user]
|
||||||
|
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
|
||||||
|
[gpg "ssh"]
|
||||||
|
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue