-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdot_gitconfig
More file actions
42 lines (35 loc) · 1.02 KB
/
dot_gitconfig
File metadata and controls
42 lines (35 loc) · 1.02 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
[includeIf "gitdir:/Users/aviv/Projects/Work/"]
path = ~/.gitconfig-work.inc
[includeIf "gitdir:/Users/aviv/Projects/Personal/"]
path = ~/.gitconfig-personal.inc
[includeIf "gitdir:/Users/aviv/.local/share/chezmoi/"]
path = ~/.gitconfig-personal.inc
[includeIf "gitdir:/Users/aviv/.dotfiles/"]
path = ~/.gitconfig-personal.inc
[alias]
hist = log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short
dft = difftool
reset-all = "!bash -c \"git stash --include-untracked && git stash drop\""
[core]
editor = nvim
pager = delta
[pull]
ff = only
[push]
default = current
autoSetupRemote = true
[diff]
colorMoved = default
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
theme = Monokai Extended
[interactive]
diffFilter = delta --color-only
[pager]
difftool = true