-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
82 lines (70 loc) · 1.94 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[include]
path = .gitconfig.local
[color]
ui = auto
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
quotepath = false
editor = vim
pager = less -FRX
precomposeunicode = true
[alias]
ad = add -A .
co = checkout
ci = commit
st = status --short --branch --untracked-files=all
br = branch -v -v
re = remote -v
lo = log --pretty='format:%C(yellow)%h %C(green)%cd %C(red)%d %C(reset)%s %C(cyan)[%an]' --date=format:'%Y/%m/%d %H:%M:%S'
mnff = merge --no-ff
hist = log --oneline --decorate --graph --branches --tags
tree = log --graph --date=short --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset'
ds = diff --staged
dw = diff -w
dword = diff --word-diff
dn = diff --stat=120
dna = diff --stat --diff-filter=A --stat=120
dnm = diff --stat --diff-filter=M --stat=120
dnd = diff --stat --diff-filter=D --stat=120
dnam = diff --stat --diff-filter=AM --stat=120
d1 = diff HEAD~
dn1 = diff --stat HEAD~
stage = add -A
unstage = reset HEAD --
ta = for-each-ref --sort=taggerdate refs/tags --format '%(refname) %(subject)'
nw = browse -- network
[branch]
autosetuprebase = always
[difftool "sourcetree"]
cmd = /usr/local/bin/ksdiff -w \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /usr/local/bin/ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true
[rebase]
autosquash = true
[pull]
ff = only
prune = true
[ghq]
root = ~/ghq
root = ~/go/src
root = /Volumes/web/data/vhosts
root = /Volumes/web-1/data/vhosts
[fetch]
prune = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[url "[email protected]:"]
insteadOf = https://github.com/
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true