-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
54 lines (54 loc) · 1.38 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
[core]
excludesfile = /Users/Naver/.gitignore_global
editor = vim
autocrlf = input
#[difftool "sourcetree"]
# cmd = opendiff \"$LOCAL\" \"$REMOTE\"
# path =
[mergetool "sourcetree"]
cmd = /Applications/kdiff3.app/Contents/MacOS/kdiff3 \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"
trustExitCode = true
[color]
branch = auto
diff = auto
status = auto
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lf = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --numstat
a = add
s = status
c = commit
co = checkout
back = checkout '@{-1}'
pop = stash pop 'stash@{0}'
pr = pull --rebase
[diff]
tool = vimdiff
[difftool]
prompt = false
# Be able to abort all diffs with `:cq` or `:cquit`
trustExitCode = true
[user]
name = j.h.lee
email = jundol.lee@navercorp.com
[difftool "sourcetree"]
cmd = /Applications/kdiff3.app/Contents/MacOS/kdiff3 \"$LOCAL\" \"$REMOTE\"
path =
[commit]
template = /Users/Naver/.stCommitMsg
[mergetool]
keepBackup = false