-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig.symlink
67 lines (67 loc) · 1.5 KB
/
gitconfig.symlink
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
61
62
63
64
65
66
67
[user]
name = John Hobbs
email = [email protected]
signingkey = F79C72E6EDC70E38
[core]
editor = nvim
[color]
ui = true
[color "status"]
added = green
changed = yellow bold
untracked = red bold
[color "diff"]
whitespace = red reverse
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[commit]
gpgSign = true
[log]
decorate = true
showSignature = true
[alias]
glog = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
slong = git status --long
nah = !git reset --hard && git clean -df
far = !git fetch origin && git rebase origin
fza = "!git ls-files -m -o --exclude-standard | fzf -m --print0 | xargs -0 git add"
dft = difftool
dlog = "!f() { GIT_EXTERNAL_DIFF=difft git log -p --ext-diff $@; }; f"
dshow = "!f() { GIT_EXTERNAL_DIFF=difft git show -p --ext-diff $@; }; f"
[rerere]
enabled = 1
[push]
default = simple
autoSetupRemote = true
[status]
short = true
branch = true
[pull]
rebase = true
[merge]
conflictstyle = diff3
verifySignatures = true
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true