-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
71 lines (57 loc) · 1.33 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
[user]
email = nethish259@gmail.com
name = nethish
[core]
editor = vim
# pager = diff-so-fancy | less --tabs=4 -RFX
[alias]
co = checkout
p = push
st = status
ll = log --oneline
last = log -1 HEAD --stat
cm = commit -m
rv = remote -v
d = diff
dv = difftool -t vimdiff -y
gl = config --global -l
dk = difftool -t kdiff3 -y
catt = cat-file -t
g = config --global
catp = cat-file -p
cats = cat-file -s
lst = ls-tree
ds = diff --staged
unstage = restore --staged
lg = log --graph
llog = log --graph --abbrev-commit --decorate --first-parent
glog = log --graph --abbrev-commit --decorate
[merge]
tool = vimdiff
[difftool "vimdiff"]
cmd = vimdiff \"$LOCAL\" \"$REMOTE\"
[mergetool "vimdiff"]
cmd = cp \"$BASE\" \"$MERGED\" && vimdiff \"$LOCAL\" \"$MERGED\" \"$REMOTE\"
[commit]
template = ~/repos/dotfiles/gitcommittemplate.txt
[push]
default = current
autoSetupRemote = true
# delta command
# [core]
# pager = delta
#
# [interactive]
# diffFilter = delta --color-only
#
# [delta]
# navigate = true # use n and N to move between diff sections
# light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
#
# [merge]
# conflictstyle = diff3
#
# [diff]
# colorMoved = default
# [interactive]
# diffFilter = diff-so-fancy --patch