-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig
30 lines (22 loc) · 666 Bytes
/
dot_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
[user]
name = David Smith
email = david@narigama.dev
signingkey = 1C0F32B6F5397E05D03A118C2A8B0DE5CCE3732C
[alias]
co = checkout
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
dif = difftool
[init]
defaultBranch = master
[core]
excludesfile = ~/.gitignore
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true