forked from shiki/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
54 lines (51 loc) · 1.22 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
45
46
47
48
49
50
51
52
53
54
[hub]
protocol = https
[core]
excludesfile = $HOME/.gitignore_global
pager = less -FXRS -x2
[credential]
[user]
name = jhnferraris
email = [email protected]
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
[alias]
st = status
di = diff
co = checkout
ci = commit
br = branch
sta = stash
llog = log --date=local
flog = log --pretty=fuller --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
blog = log origin/master... --left-right
ds = diff --staged
fixup = commit --fixup
squash = commit --squash
unstage = reset HEAD
rum = rebase master@{u}
[apply]
whitespace = nowarn
[branch]
autosetupmerge = true
[rebase]
autosquash = true
[push]
default = simple
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true