-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
52 lines (50 loc) · 1.31 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
[core]
editor = vim
excludesfile = /Users/ricardop/.gitignore_global
[user]
name = Ricardo Perez
email = ricardop@square-enix.com
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h [%ad] | %s%d [%an]\" --graph --date=short
lg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
who = shortlog -s --
type = cat-file -t
dump = cat-file -p
pr = pull --rebase
[color]
branch = auto
diff = auto
status = 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
[push]
default = simple
[init]
templatedir = ~/.git-templates
[clone]
templatedir = ~/.git-templates
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[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