-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitconfig
116 lines (116 loc) · 2.81 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[user]
name = R.T. Lechow
email = [email protected]
signingkey = E04FBCAB
[alias]
a = add
au = add -u
b = branch -v
bd = branch -d
br = checkout -b
bl = blame -w -M
ca = commit --amend
cb = checkout -b
ch = checkout
ci = commit
cl = clean
cp = cherry-pick
d = diff
dc = diff --cached
l = log -p
last = log -1 HEAD
m = merge
p = pull
patch = --no-pager diff --no-color
ps = push
r = rebase
s = status -s
sta = stash
unstage = reset HEAD --
w = whatchanged
web = instaweb --httpd=webrick
webstop = instaweb --httpd=webrick --stop
serve = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; vim `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
prettylog = "log --graph --pretty=format:\"%Cred%h%Creset — %s %Cgreen(%cr)%Creset\" --abbrev-commit --date=relative"
track = checkout --track -b
prune-all = !git remote | xargs -n 1 git remote prune
rank = shortlog -sn --no-merges
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
conflict = diff --name-only --diff-filter U
hub = !hub
[core]
pager = diff-so-fancy | less -iFMRSX --pattern='^(commit|diff|modified|added|removed)' +r
whitespace = trailing-space
excludesfile = ~/.gitignore_global
attributesfile = /Users/rtl/.gitattributes
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
plain = blue
[color "diff"]
plain = normal
meta = yellow
frag = magenta
old = red
new = green
commit = cyan
whitespace = yellow red
[color "status"]
header = blue
added = green
changed = yellow
untracked = cyan
nobranch = red
[merge]
tool = vimdiff
[push]
default = current
autoSetupRemote = true
[branch]
autosetuprebase = always
autosetupmerge = always
sort = -committerdate
[credential]
helper = osxkeychain
helper =
helper = /usr/local/share/gcm-core/git-credential-manager
[init]
templatedir = ~/.git_template
[github]
user = rtlechow
[ghi]
token = !security find-internet-password -a rtlechow -s github.com -l 'ghi token' -w
[status]
displaycommentprefix = true
[merge "ours"]
driver = true
[diff]
indentHeuristic = true
submodule = diff
[interactive]
diffFilter = less
[diff-so-fancy]
markEmptyLines = false
[diff "spaceman-diff"]
command = spaceman-diff
[commit]
verbose = true
[fetch]
prune = true
[column]
ui = auto
[credential "https://git.heroku.com"]
provider = generic
[credential "https://dev.azure.com"]
useHttpPath = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true