Browse Source

update git config

master
Brett Langdon 10 months ago
parent
commit
032de29790
Failed to extract signature
2 changed files with 71 additions and 45 deletions
  1. +69
    -45
      gitconfig
  2. +2
    -0
      gitignore_global

+ 69
- 45
gitconfig View File

@ -1,60 +1,84 @@
[user] [user]
name = brettlangdon name = brettlangdon
email = me@brett.is
email = brett.langdon@datadoghq.com
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPG5FWUNREaSQ7t/vyc+jNaiq4nmaNC07535tnpN3hCj signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPG5FWUNREaSQ7t/vyc+jNaiq4nmaNC07535tnpN3hCj
[credential]
helper = store
[alias]
dc = diff --cached
dm = diff origin/main
[branch]
sort = -committerdate
[column]
ui = auto
[commit]
gpgsign = true
verbose = true
[core] [core]
excludesfile = /Users/brettlangdon/.gitignore_global
excludesfile = ~/.gitignore_global
editor = emacs -nw -Q editor = emacs -nw -Q
pager = delta --dark --keep-plus-minus-markers pager = delta --dark --keep-plus-minus-markers
whitespace = trailing-space,space-before-tab whitespace = trailing-space,space-before-tab
[interactive]
diffFilter = delta --color-only
[alias]
st = status
d = diff --color --minimal
dc = diff --color --minimal --cached
g = grep -p
dm = diff origin/main
[credential]
helper = store
[diff] [diff]
compactionHeuristic = true
algorithm = histogram algorithm = histogram
[push]
default = simple
[grep]
lineNumber = true
[commit]
gpgsign = true
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
colorMoved = plain
mnemonicPrefix = true
renames = true
[fetch]
prune = true
pruneTags = true
all = true
[github]
user = brettlangdon
[gpg] [gpg]
format = ssh format = ssh
[gpg "ssh"] [gpg "ssh"]
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign" program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
allowedSignersFile = "/Users/brettlangdon/.config/git/allowed_signers"
[tag]
forceSignAnnotated = true
[pull]
rebase = true
allowedSignersFile = "/Users/brettlangdon/.config/git/allowed_signers"
[grep]
lineNumber = true
[help]
autocorrect = prompt
[interactive]
diffFilter = delta --color-only
[init] [init]
defaultBranch = main defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[github]
user = brettlangdon
[merge]
conflictstyle = zdiff3
[pull]
rebase = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[rerere]
enabled = true
autoupdate = true
[tag]
sort = version:refname
forceSignAnnotated = true

+ 2
- 0
gitignore_global View File

@ -8,3 +8,5 @@
*.coverage *.coverage
htmlcov htmlcov
*.ccls-cache *.ccls-cache
.gitlab-ci-local
.clangd

Loading…
Cancel
Save