-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
88 lines (78 loc) · 1.92 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
[user]
email = [email protected]
name = Muhammad Falak R Wani
signingkey = 52EAF8584C0E9B51405CA80DD323A5E0174C86DD
[core]
pager = less
commitGraph = true
[pager]
diff = delta
blame = delta
grep = delta
log = delta
reflog = delta
show = delta
[delta]
features = side-by-side linux-numbers
whitespace-error-style = 22 reverse
# side-by-side = true
navigate = true
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[interactive]
diffFilter = delta --color-only
[alias]
br = branch -vv
ch = status -uno
ci = commit -s
cl = clone
co = checkout
contributors = !git log --format=format:"%an" | sort | uniq -c | sort -rn
d = diff
dc = diff --cached
dump = cat-file -p
fo = fetch origin
fa = fetch --all --tags -j8
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
lga = log --oneline --graph --all --decorate
lo = log --oneline
lt = !env GIT_EXTERNAL_DIFF=difft git log --ext-diff -p
lp = !env GIT_EXTERNAL_DIFF=difft git log --abbrev-commit HEAD@{1}.. --reverse --ext-diff
pfl = push --force-with-lease
pd = push --delete
pur = pull --rebase
recent = branch -a --sort=-committerdate
revert = revert -s
st = status
stalk = !git for-each-ref --sort='-authordate' --format='%(authordate:relative)%09%(refname)' refs/remotes | sed -e 's-refs/remotes/--' | less -F
type = cat-file -t
unstage = reset HEAD --
rup = remote update --prune
[pull]
rebase = true
ff = only
[branch]
autosetuprebase=always
[rerere]
enabled = true
[fetch]
prune = true
writeCommitGraph = true
[format]
signoff = true
[diff]
colorMoved = zebra
[commit]
gpgsign = true
[gc]
writeCommitGraph = true
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[credential]
helper = store