1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-04-26 03:45:21 -04:00
dotfiles/git/.gitconfig
2021-03-23 10:07:57 -04:00

56 lines
1.2 KiB
INI

[core]
editor = code --wait
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
[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