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]
|
||||
excludesfile = ~/.gitignore
|
||||
editor = /usr/local/bin/nvim
|
||||
autocrlf = input
|
||||
fileMode = false
|
||||
excludesfile = ~/.gitignore
|
||||
editor = nvim
|
||||
autocrlf = input
|
||||
fileMode = false
|
||||
|
||||
[user]
|
||||
name = Max Bucknell
|
||||
email = me@maxbucknell.com
|
||||
name = Max Bucknell
|
||||
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]
|
||||
dc = diff --staged
|
||||
di = diff
|
||||
amend = commit --amend
|
||||
aa = add --all
|
||||
ff = merge --ff-only
|
||||
noff = merge --no-ff
|
||||
pf = pull --ff-only
|
||||
fa = fetch --all
|
||||
st = status
|
||||
ci = commit --verbose
|
||||
co = checkout
|
||||
current-branch = rev-parse --abbrev-ref HEAD
|
||||
cl = clone
|
||||
ll = !max-git-log
|
||||
uu = !max-set-upstream
|
||||
whodunnit = blame
|
||||
peek = log -1
|
||||
wip = commit -m 'wip' --no-verify
|
||||
dc = diff --staged
|
||||
di = diff
|
||||
amend = commit --amend
|
||||
aa = add --all
|
||||
ff = merge --ff-only
|
||||
noff = merge --no-ff
|
||||
pf = pull --ff-only
|
||||
fa = fetch --all
|
||||
st = status
|
||||
ci = commit --verbose
|
||||
co = checkout
|
||||
current-branch = rev-parse --abbrev-ref HEAD
|
||||
cl = clone
|
||||
ll = !max-git-log
|
||||
uu = !max-set-upstream
|
||||
whodunnit = blame
|
||||
peek = log -1
|
||||
wip = commit -m 'wip' --no-verify
|
||||
unwip = reset --soft HEAD~1
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
ui = auto
|
||||
|
||||
[help]
|
||||
autocorrect = 1
|
||||
autocorrect = 1
|
||||
|
||||
[push]
|
||||
default = current
|
||||
default = current
|
||||
|
||||
[github]
|
||||
user = maxbucknell
|
||||
user = maxbucknell
|
||||
[credential]
|
||||
helper = osxkeychain
|
||||
helper = osxkeychain
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
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