1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-06-27 06:35:39 -04:00
Files
dotfiles/git/.gitconfig

67 lines
1.5 KiB
INI

[core]
editor = code --wait
pager = delta
excludesfile = ~/.gitignore_global
# Make `git rebase` safer on macOS
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
[user]
email = jake@jarv.is
name = Jake Jarvis
signingkey = 3BC6E5776BF379D36F6714802B0C9CF251E69A39
[init]
defaultBranch = main
[push]
default = tracking
gpgSign = if-asked
[pull]
rebase = true
[commit]
gpgsign = true
[rebase]
autoSquash = true
autoStash = true
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[interactive]
diffFilter = delta --color-only --features=interactive
[alias]
undo = reset --soft HEAD~1
pom = push origin main
# Show verbose output about tags, branches, remotes, aliases and contributors
tags = tag -l
branches = branch -a
remotes = remote -v
aliases = config --get-regexp alias
contributors = shortlog --summary --numbered
new = !git init && git symbolic-ref HEAD refs/heads/main
# [credential]
# helper = osxkeychain
# [gpg]
# program = /usr/local/MacGPG2/bin/gpg
[github]
user = jakejarvis
[hub]
host = github.com
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[mergetool]
keepBackup = true
[color]
ui = auto
[delta]
features = decorations
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
hunk-header-style = omit
line-numbers = true
syntax-theme = base16