-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
72 lines (57 loc) · 1.3 KB
/
gitconfig
File metadata and controls
72 lines (57 loc) · 1.3 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[user]
email = blinovsv@gmail.com
name = Sergei Blinov
[include]
path=~/.gitsignkey
[commit]
gpgsign = true
[tag]
gpgsign = true
[color]
ui = auto
branch = auto
diff = auto
status = auto
[alias]
ls = ls-files
b = branch
br = branch
bvv = branch -vv
ba = branch --all
t = tag
d = diff --stat -p -C
ds = diff --staged --stat -p -C
ci = commit -v
co = checkout
st = status -sb
pr = pull --rebase
wc = whatchanged --abbrev-commit --date=relative --date-order --pretty='format:%Cgreen%h %Cblue%ar %Credby %an%Creset -- %s' -n 45
l = log -p
# commitmessage.maxSubjectLength: Default is 50 characters
ll = log --decorate --graph --pretty=format:'%Cred%h%Creset %<(50,trunc)%s %Cgreen%cr%C(auto)%d %C(cyan)<%an>'
lla = ll --all
gl = log --decorate --graph --abbrev-commit --color --color-words --topo-order --pretty=medium
gla = gl --all
sl = log --decorate --graph --abbrev-commit --color --topo-order --pretty=oneline
sla = sl --all
# see https://difftastic.wilfred.me.uk/git.html
dft = difftool
dlog = "-c diff.external=difft log -p --ext-diff"
[core]
autocrlf = input
excludesfile = ~/.config/gitignore_global
[push]
default = simple
[pull]
[log]
date = relative
[init]
defaultBranch = main
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true