-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
59 lines (55 loc) · 1.28 KB
/
.gitconfig
File metadata and controls
59 lines (55 loc) · 1.28 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
[user]
email = 13129+nclark@users.noreply.github.com
name = Neal Clark
[color]
ui = auto
diff = auto
status = auto
[color "branch"]
current = yellow
local = white
remote = green
[alias]
st = status
co = checkout
ci = commit
br = branch
cp = cherry-pick
mv = br -M
slog = log --pretty=format:'%h - %an, %ar : %s'
lod = log --oneline --decorate
msg = commit --allow-empty -m
sl = stash list
sc = stash clear
sa = stash apply
sd = diff stash@{0}
pop = !git reset HEAD^ && git status
put = push origin HEAD
fpyolo = push origin HEAD --force-with-lease
mergedat = "!f() { target=$1; source=$2; git fetch origin $target:$target && git push origin ${source:-HEAD}:$target; }; f"
[core]
excludesfile = /Users/nclark/.gitignore
editor = nvim
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[merge]
tool = mvim
[mergetool "mvim"]
cmd=/usr/local/bin/vimr -d -g $LOCAL $MERGED $REMOTE
keepbackup=false
[gist]
private = yes
[grep]
lineNumber = true
[init]
defaultBranch = master
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true # optional but nice
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true