-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
44 lines (44 loc) · 1.17 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
[user]
email = [email protected]
name = Charles-P. Clermont
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgg = log --date=short --color --graph --pretty=format:'%Cred%h%Creset - %Cgreen(%cd)%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit
exclude = !$BIN/exclude
fuck = reset --hard HEAD
[core]
editor = nvim
excludesfile = /home/charles/.gitignore
# pager = diff-so-fancy | less --tabs=4 -RFX
[diff]
tool = nvim
[difftool]
prompt = false
[difftool "nvim"]
cmd = nvim -d $LOCAL $REMOTE
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $BASE $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[push]
default = simple
[web]
browser = firefox-developer-edition
[browser "firefox-developer-edition"]
cmd = /usr/bin/firefox-developer-edition
[color]
ui = true
[color "diff"]
meta = yellow
old = red bold
new = green bold
whitespace = red reverse
[init]
defaultBranch = main
[include]
path = /Users/charles/dotfiles/config/dev/gitconfig