-
Notifications
You must be signed in to change notification settings - Fork 101
/
linux_gitconfig
47 lines (47 loc) · 1.1 KB
/
linux_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
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = $HOME/.gitignore
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
who = shortlog -s --
up = pull
pr = pull --rebase
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
[github]
user = <github username>
email = <github email address>
[github "user"]
user = <github username>
email = <github email address>
[user]
user = <github username>
email = <github email address>
[color]
ui = true
diff = auto
status = auto
branch = auto
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
[diff "ruby"]
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
[push]
default = current
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[merge]
tool = opendiff