-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
65 lines (54 loc) · 1.3 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
55
56
57
58
59
60
61
62
63
64
65
[user]
name = Name
email = [email protected]
[push]
default = current
[alias]
co = checkout
st = status
ci = commit
br = branch
lc = log --stat --no-merges
logtree = log --pretty=oneline --graph --all
notmerged = cherry -v
lg = log -p
who = shortlog -sne --no-merges
unstage = reset HEAD --
visual = !gitk
datetag = !__git-datetag
merge-candidate = merge --no-ff
igrep = grep --full-name -IiE
remote-branch = !__git-remote-branch
wtf = !__git-wtf | less -FE
branch-mirror = !__git-branch-mirror
zip = !sh -c 'git archive --format zip $1 > "`basename $PWD | tr "[:upper:]" "[:lower:]"`-$1.zip"' -
cr = codereview
[color]
diff = false
status = auto
branch = auto
interactive = auto
ui = true
[branch]
autosetupmerge = always
[core]
excludesfile = ~/.gitignore
editor = emacs
whitespace = fix
pager = tig
#autocrlf = true
[merge]
tool = p4
[mergetool]
prompt = no
trustExitCode = false
[mergetool "p4"]
prompt = no
cmd = /Applications/p4merge.app/Contents/MacOS/p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
[diff]
tool = p4
[difftool]
prompt = no
trustExitCode = false
[difftool "p4"]
cmd = /Applications/p4merge.app/Contents/MacOS/p4merge "$LOCAL" "$REMOTE"