-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig
More file actions
69 lines (69 loc) · 1.64 KB
/
dot_gitconfig
File metadata and controls
69 lines (69 loc) · 1.64 KB
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
[user]
name = Øystein Walle
[color]
ui = auto
[diff]
tool = nvimdiff
orderFile = ~/.gitdifforder
[core]
editor = nvim
excludesfile = ~/.gitignore
pager = less -FSRX
[log]
decorate = true
mailmap = true
[alias]
a = add
ci = commit -v
cim = "!git commit -m \"$*\" && :"
cam = "!git commit -am \"$*\" && :"
st = status
s = status
d = diff
sd = diff --staged
co = checkout
br = branch
fuckit = reset --hard
fuckup = reset --hard @{u}
lg = log --graph --branches --oneline --date-order
lgg = log --graph --exclude=refs/stash --all --oneline --date-order
lgup = log --graph --oneline --date-order HEAD..@{u}
sdiff = diff --staged
amend = commit --amend -C HEAD
rcont = rebase --continue
dirdiff = difftool --tool vdwrap --dir-diff
reword = commit --amend -v
others = ls-files --others --exclude-standard
rewrite = "![ \"$1\" = -f ] && { export GIT_EDITOR=cat; shift; }; git rebase -i $(git merge-base HEAD ${1:-\"@{u}\"}) && : "
review = "!u=$(git rev-parse ${1:-\"@{u}\"} 2>/dev/null || echo master); git log --patch --reverse $u.. && :"
alias = config --get-regexp \"^alias\\.\"
fixup = commit --fixup
squash = commit --squash
f = fetch
pulled = log @{1}..@
fetched = log @{u}@{1}..@{u}
[push]
default = simple
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = oystwa@gmail.com
smtpserverport = 587
[difftool "vdwrap"]
cmd = vdwrap $LOCAL $REMOTE
[merge]
defaultToUpstream = true
tool = nvimdiff
[pager]
status = true
[pull]
ff = true
[rebase]
autosquash = true
[grep]
lineNumber = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true