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,48 +1,63 @@
|
||||||
[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
|
||||||
di = diff
|
di = diff
|
||||||
amend = commit --amend
|
amend = commit --amend
|
||||||
aa = add --all
|
aa = add --all
|
||||||
ff = merge --ff-only
|
ff = merge --ff-only
|
||||||
noff = merge --no-ff
|
noff = merge --no-ff
|
||||||
pf = pull --ff-only
|
pf = pull --ff-only
|
||||||
fa = fetch --all
|
fa = fetch --all
|
||||||
st = status
|
st = status
|
||||||
ci = commit --verbose
|
ci = commit --verbose
|
||||||
co = checkout
|
co = checkout
|
||||||
current-branch = rev-parse --abbrev-ref HEAD
|
current-branch = rev-parse --abbrev-ref HEAD
|
||||||
cl = clone
|
cl = clone
|
||||||
ll = !max-git-log
|
ll = !max-git-log
|
||||||
uu = !max-set-upstream
|
uu = !max-set-upstream
|
||||||
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
|
||||||
|
|
||||||
[help]
|
[help]
|
||||||
autocorrect = 1
|
autocorrect = 1
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
|
|
||||||
[github]
|
[github]
|
||||||
user = maxbucknell
|
user = maxbucknell
|
||||||
[credential]
|
[credential]
|
||||||
helper = osxkeychain
|
helper = osxkeychain
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
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