forked from paulirish/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitconfig
41 lines (41 loc) · 1.08 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
[apply]
whitespace = fix
[alias]
co = checkout
add = add -a
ca = commit -am
cm = commit -m
st = status -s
dif = diff
difc = diff --color-words
dift = difftool
lp = log --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cd)%Creset' --abbrev-commit --date=rfc
lpu = log --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset - %C(magenta)%cn%Creset' --abbrev-commit --date=relative
lpn = log --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset - %C(magenta)%cn%Creset' --abbrev-commit --date=relative -n
lpd = log --pretty=format:'%Cgreen%cd%Creset %Cred%h%Creset %C(yellow)%d%Creset %s' --abbrev-commit --date=short
logg = log --grep
log-tree= log --graph --oneline --decorate --all
[color]
ui = always
[commit]
gpgsign = true
[core]
pager = less -iXFR
[credential]
helper = netrc -f ~/.netrc.gpg -v
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[init]
defaultBranch = main
[merge]
log = true
[mergetool]
keepBackup = true
[pager]
difftool = true
[pull]
rebase = false