-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
92 lines (80 loc) · 1.88 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[core]
attributesfile = ~/.gitattributes
editor = vim
excludesfile = ~/.gitignore
[alias]
br = branch
ci = commit
co = checkout
df = diff
dfs = diff --staged
pr = pull --autostash --rebase
st = status -sb
lg = log --abbrev-commit --date-order --date=relative --graph --pretty=plus
lga = lg --branches --remotes
rv = diff
rvs = rv --staged
bl = !git for-each-ref --color=always --sort=committerdate --format=' \
%(color:yellow)%(refname:short)%(color:reset) \
%(color:red)%(objectname:short)%(color:reset) \
%(contents:subject) \
%(authorname) \
(%(color:green)%(committerdate:relative)%(color:reset)) \
' refs/heads/ \
| sed -e 's/ /\\t/g' -e 's/^\\s\\+\\|\\s\\+$//g' | column -ts '\t'
rb = -c rebase.instructionFormat=' \
%s%nexec GIT_COMMITTER_DATE=\"%cD\" git commit --amend --no-edit' \
rebase -i
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "decorate"]
remoteBranch = yellow
[color "diff"]
whitespace = red reverse
meta = yellow
old = red
new = green
[color "diff-highlight"]
oldhighlight = 9 235 bold
oldnormal = 9
newhighlight = green 235 bold
newnormal = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[diff]
renameLimit = 5120
tool = vimdiff
[diff "gz"]
binary = true
textconv = "f() { file -b $1; echo ---; gunzip -c $1; }; f"
[difftool]
prompt = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[pager]
bl = less -ERSX
rv = /usr/bin/perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight \
| less
[pretty]
plus = %C(red)%h%C(reset) -%C(auto)%d %s %C(green)(%ar) %C(blue bold)<%an>
[push]
default = upstream
[rebase]
autosquash = true
[rerere]
enabled = true
autoupdate = true
[user]
name = Mal Graty
email = mal.graty@googlemail.com