forked from tento-js/unforGITtable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
49 lines (46 loc) · 1.44 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
[user]
email = jun.ren.nz@gmail.com
name = Jun
[push]
default = current
[color]
ui = auto
[alias]
cm = commit
co = checkout
l1 = log --reverse --oneline
lg = log --all --oneline --graph
br = branch
ls = log --reverse --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --reverse --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
lnc = log --reverse --pretty=format:"%h\\ %s\\ [%cn]"
lds = log --reverse --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
ld = log --reverse --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
filelog = log -u
fl = log -u
dl = "!git ll -1"
dlc = diff --cached HEAD^
dr = "!f() { git diff "$1"^.."$1"; }; f"
lc = "!f() { git ll "$1"^.."$1"; }; f"
diffr = "!f() { git diff "$1"^.."$1"; }; f"
f = "!git ls-files | grep -i"
ag = "!git ls-files | ag"
dif = "!git diff --word-diff-regex=."
[push]
default = current
[rerere]
enabled = 1
autoupdate = true
[core]
excludesfile = /Users/jren/.gitignore_global
ignorecase = false
[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
[commit]
; gpgsign = true
[pager]
log = false