Files
dotfiles/gitconfig
Jim Myhrberg d53f2e0bb4 chore(git): disable github http to ssh/git connections
Clone GitHub HTTP remotes over HTTP via ~/.netrc credentials instead of
forcing GitHub HTTP clones to operate over ssh/git.
2021-01-03 19:19:09 +00:00

66 lines
1.3 KiB
Plaintext

[user]
name = Jim Myhrberg
email = contact@jimeh.me
signingkey = contact@jimeh.me
[commit]
gpgsign = true
[core]
excludesfile = ~/.gitignore
[color]
status = auto
branch = auto
diff = auto
[apply]
whitespace = nowarn
[push]
default = simple
[alias]
a = add
ai = add -i
p = pull --rebase
pu = push
co = checkout
cl = clone
br = branch
ci = commit
st = status
me = merge
di = diff
re = remote
reb = rebase
res = reset
sub = submodule
unstage = reset HEAD --
last = log -1 HEAD
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %Cgreen%GS%Creset' --abbrev-commit --
pgp = config commit.gpgsign
pgp-on = config commit.gpgsign true
pgp-off = config commit.gpgsign false
tree = log --all --graph --decorate --oneline --simplify-by-decoration
[pull]
rebase = true
[difftool "Kaleidoscope"]
cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
[diff]
tool = Kaleidoscope
[diff "sopsdiffer"]
textconv = sops -d
[credential]
helper = osxkeychain
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[include]
path = ~/.gitconfig_private