-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
49 lines (49 loc) · 1.14 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
[commit]
verbose = true
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = decorations
syntax-theme = GitHub
black = true
[delta "decorations"]
line-numbers = true
file-style = white bold
file-decoration-style = white box
hunk-header-style = syntax
hunk-header-line-number-style = cyan
hunk-header-decoration-style = omit
[diff]
algorithm = histogram
colorMoved = default
[diff "clojure"]
xfuncname = ^(\\(.+)
[fetch]
prune = true
[merge]
conflictStyle = diff3
tool = gvimdiff
[mergetool]
prompt = false
[push]
default = simple
followTags = true
[rerere]
enabled = true
[alias]
amend = commit --amend
br = branch
ci = commit
co = checkout
ds = diff --cached
fp = fetch --prune
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ll = log --pretty=oneline --abbrev-commit --decorate
ls = log --pretty=oneline --abbrev-commit --decorate origin..HEAD
rv = remote -v
st = status -s
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
pushf = push --force-with-lease
pusht = push --follow-tags