forked from grayside/dotfiles-original
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
77 lines (77 loc) · 2.01 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
[user]
name = Daniel Sasser
email = [email protected]
[alias]
br = branch
ci = commit
co = checkout
df = diff
g = grep -I
lg = log -p
pp = !"echo 'Pull'; git pull; echo 'Push'; git push"
rb = rbranch
rv = review
st = status
list-changed = ls-files -m
theirs = "!f() { git checkout --theirs --global && git add --global; }; f"
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
ours = "!f() { git checkout --ours --global && git add --global; }; f"
last = log --max-count=1
merged = branch --merged origin/master -a
assume = update-index --assume-unchanged
dd = diff --relative
a = apply --index
assumed = !git ls-files -v | grep ^h | cut -c 3-
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
unassume = update-index --no-assume-unchanged
lf = show --pretty=\"format:\" --name-only
list-files = show --pretty=\"format:\" --name-only
branches = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short), last updated %(committerdate:relative) by %(authorname)'
lc = ls-files -m
[url "ssh://[email protected]/project/"]
insteadOf = drupal:
[url "[email protected]:"]
insteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
insteadOf = "github:"
[url "[email protected]:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[diff]
renames = copies
algorithm = patience
[color]
diff = true
branch = true
ui = true
[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 = green
changed = yellow
untracked = red
[branch]
autosetuprebase = always
remote = origin
[grep]
lineNumber = true
[color "branch"]
current = green bold
remote = red bold
[core]
autocrlf = input
whitespace = blank-at-eol,blank-at-eof,trailing-space,tab-in-indent
excludesfile = ~/.gitignore
safecrlf = false