-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
49 lines (48 loc) · 1.1 KB
/
gitconfig
File metadata and controls
49 lines (48 loc) · 1.1 KB
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
[user]
email = nuno.sa@analog.com
name = Nuno Sá
[credential]
helper = store
[diff]
tool = meld
algorithm = histogram
colorMoved = plain
renames = true
mnemonicPrefix = true
[grep]
lineNumber = on
[core]
abbrev = 12
[pretty]
fixes = Fixes: %h (\"%s\")
[push]
default = current
autoSetupRemote = true
[b4]
send-endpoint-web = https://lkml.kernel.org/_b4_submit
[alias]
pushfwl = push --force-with-lease
fixes = show -s --pretty='format:Fixes: %h (\"%s\")'
line-ownership = "!f(){ git blame -w --line-porcelain \"$1\" | grep \"^author \" | sed \"s/^author //\" | sort | uniq -c | awk '{count=$1; $1=\"\"; author=substr($0,2); total+=count; counts[author]+=count} END {for (a in counts) printf \"%-25s %6.2f%% (%d lines)\\n\", a, (counts[a]/total)*100, counts[a]}' | sort -k2 -nr; }; f"
[maintenance]
repo = /home/nsa/work/linux
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[fetch]
prune = true
[help]
autocorrect = prompt
[commit]
verbose = true
[rerere]
enabled = true
autoupdate = true
[rebase]
autoSquash = true
updateRefs = true
[color]
ui = auto