-
Notifications
You must be signed in to change notification settings - Fork 4
/
gitconfig
79 lines (66 loc) · 1.66 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
[alias]
b = branch
rv = remote -v
s = status -sb
st = status
d = diff
co = checkout
com = checkout master
f = fetch
inspect = blame
l = log
a = add
ap = add --patch
c = commit
p = push
clean = checkout -f --
nuke = clean -fx
dirty = reset --hard
branch-current = rev-parse --abbrev-ref HEAD
bc = branch-current
[core]
editor = code -w
[color]
# Use colors in Git commands that are capable of colored output when
# outputting to the terminal. (This is the default setting in Git e 1.8.4.)
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold # line info
old = red # deletions
new = green # additions
[color "status"]
added = yellow
changed = green
untracked = cyan
[merge]
conflictstyle = diff3
# Detect copies as well as renames
[diff]
renames = copies
# make it easy for autocorrect
[help]
autocorrect = 1
[pull]
rebase = true
[push]
default = current
# anything that needs to be unique to a specific environment (user email and name, for instance) should live here and it'll be included.
# Big thanks to [[http://agateau.com/2015/splitting-your-gitconfig/][Aurélien Gâteau's post on Includes in a git config] for explaining that the way to test this should be:
# git config --global --includes user.email
[user]
name = Chase Adams
[commit]
gpgsign = false
[gpg]
program = gpg
[include]
path = ~/.gitconfig.local
[includeIf "gitdir:~/src/github.com/murmurlabs/**"]
path = ~/.gitconfig.murmurlabs.local
[init]
defaultBranch = main