-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
123 lines (96 loc) · 2.3 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
117
118
119
120
121
122
123
[user]
# name = FULL_NAME
# email = EMAIL
[github]
# These details can be found at <https://github.com/account>
# user = USERNAME
# token = TOKEN
[diff]
color = auto
rename = copy
tool = diffmerge
[pager]
color = true
# this one is very cool:
# green means "to be committed"
# red means "not to be committed"
[status]
color = auto
[gc]
auto=1
[alias]
co = checkout
ci = commit
st = status
br = branch
dc = diff --cached
amend = commit --amend
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
lg = log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(black bold)- %an %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
standup = shortlog --pretty=format:'%Cred%h%Creset %s %Cgreen(%cr)%Creset' --since='2 days ago' --all
unstage = reset HEAD
uncommit = reset --soft HEAD^
[core]
filemode = true
logallrefupdates = true
whitespace=fix, -indent-with-non-tab, trailing-space, cr-at-eol
autocrlf = false
safecrlf = true
[color]
ui = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "branch"]
current = yellow reverse
local = yellow bold
remote = green bold
plain = red bold
[color "status"]
added = yellow
changed = green bold
untracked = blue bold
[difftool "diffmerge"]
cmd = diffmerge \"$LOCAL\" \"$REMOTE\"
[merge]
tool = fugitive
summary=true
[mergetool "diffmerge"]
cmd = diffmerge --merge --result=\"$MERGED\"\n\"$LOCAL\" \"$BASE\" \"$REMOTE\"
trustexitcode = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[browser "safari"]
cmd = open -a Safari.app
[web]
browser = safari
[browser "gitscm"]
cmd = /bin/sh -c 'open http://git-scm.com/docs/$(basename $1 .html)' --
[help]
browser = gitscm
[include]
path = ~/.gitconfig.local
[pull]
rebase = true
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = store
helper =
helper = /usr/local/share/gcm-core/git-credential-manager-core
[credential "https://dev.azure.com"]
useHttpPath = true
[credential "https://git.heroku.com"]
provider = generic
[credential "http://gitea.home.local"]
provider = generic