-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitconfig
68 lines (66 loc) · 1.82 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
61
62
63
64
65
66
67
68
[user]
email = [email protected]
name = Ramon Fried
signingkey = 5694787D73A8F87D
[color]
ui = true
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
pager = diff-so-fancy | less --tabs=4 -RFX
[push]
default = matching
[diff]
tool = vimdiff
[difftool]
prompt = false
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[rebase]
autoStash = yes
[alias]
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
s = status -s --untracked-files=no --ignore-submodules=all
a = add
c = commit -sm
d = diff
dn = diff --no-pager
dc = diff --cached
p = pull
w = whatchanged
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
subpull = !git submodule foreach git pull --tags origin master
unstage = reset HEAD
u = unstage
root = rev-parse --show-toplevel
[include]
path = .gitconfig_neureality
# path = .gitconfig_intel
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[rebase]
autosquash = true
[credential]
helper = store
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true