-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
60 lines (59 loc) · 1.44 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[include]
path = ~/.gitconfig.local
[core]
editor = $EDITOR
excludesfile = ~/.gitignore
ignorecase = false
abbrev = 12
[alias]
l = log --graph --oneline --decorate
ld = log --graph --pretty=format:'%C(yellow)%h%C(bold white red)%d%Creset %s %C(bold green)%cr %Creset%C(white)%an' --abbrev-commit --date=relative
ll = log --stat --decorate --source -p
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
delete-merged = "!git fetch && git branch --merged | egrep -v 'master|dev|main|staging' | xargs git branch -d"
dlog = "-c diff.external=difft log -p --ext-diff"
[color]
ui = auto
[diff]
external = difft
tool = difftastic
algorithm = patience
colorMoved = zebra
[push]
default = current
[commit]
verbose = true
# template = ~/.gitmessage
[fetch]
prune = true
[rebase]
autosquash = true
[pager]
branch = false
difftool = true
[user]
name = proteusiq
email = [email protected]
[pull]
rebase = false
[init]
defaultBranch = main
[credential]
helper = osxkeychain
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[gpg]
format = ssh
[commit]
gpgsign = true
[user]
signingkey = ~/.ssh/id_ed25519.pub
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[rerere]
enabled = true