-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
77 lines (77 loc) · 1.42 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
[core]
editor = vim
[pager]
diff = delta
difftool = true
[user]
name = Aryan Sjet
email = [email protected]
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true
default = current
[init]
defaultBranch = main
[alias]
st = status
ck = checkout
pk = cherry-pick
br = branch
sw = switch
pl = pull
ps = push
pf = push -f
cm = commit -m
cam = commit -a -m
ma = commit --amend
man = commit --amend --no-edit
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
mg = merge
rb = rebase
dft = difftool
undo = reset --soft HEAD^
drop = reset --hard HEAD^
[merge]
ff = false
commit = true
conflictstyle = zdiff3
[interactive]
diffFilter = delta --color-only
[diff]
tool = difftastic
colorMoved = default
algorithm = histogram
submodule = log
colorMovedWS = allow-indentation-change
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[delta]
navigate = true
side-by-side = true
line-numbers-left-format = "{nm:^4}|"
line-numbers-right-format = "|{np:^4}|"
[push]
default = current
autoSetupRemote = true
[fetch]
writeCommitGraph = true
[commit]
gpgsign = true
[rebase]
autostash = true
[rerere]
enable = true
[help]
autocorrect = prompt
[submodule]
recurse = true
[status]
submoduleSummary = true
[log]
date = iso