-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
59 lines (59 loc) · 1.34 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
[user]
name = Theo Salzmann
email = [email protected]
[diff]
colorMoved = default
[push]
default = current
[core]
editor = nvim
pager = delta
excludesfile = ~/.gitignore
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true
zero-style = dim syntax
line-numbers = true
[merge]
conflictstyle = diff3
[alias]
wc = "!sh $HOME/bin/worktree-clone"
wt = worktree
sw = switch
sc = switch -c
co = checkout
cb = checkout -b
ct = commit
ca = commit --amend --no-edit
cp = cherry-pick
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg-release = log --pretty=format:'%Cred%h%Creset - %s' --abbrev-commit
names = show --name-only
ps = push
fps = push --force-with-lease
pl = pull -p --rebase
ad = commit -a --amend --no-edit
all = add -A
tree = diff-tree --no-commit-id --name-only -r
conflict = diff --name-only --diff-filter=U
wip = ct -m 'wip'
[remote "origin"]
fetch = +refs/pull/*/head:refs/pull/origin/*
[init]
defaultBranch = main
[pull]
rebase = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rerere]
enabled = true
[column]
ui = auto
[branch]
sort = -committerdate