-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdotgitconfig
More file actions
29 lines (28 loc) · 922 Bytes
/
dotgitconfig
File metadata and controls
29 lines (28 loc) · 922 Bytes
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
# STRONGLY RECOMMENDED: COPY this file, do not SYMLINK it.
#
# My excludes and hooks paths all have my home folder fully expanded.
[user]
email = dbrady@shinybit.com
name = David Brady
[core]
excludesfile = /Users/dbrady/.gitignore
hooksPath = /Users/dbrady/.githooks
[push]
# git help config and search for push.default to see the various push
# types. simple pushes the current branch to the same server I got the
# branch from, but will error out if the branch is out of sync.
default = simple
[alias]
glog = log --all --pretty='format:%d %Cgreen%h%Creset %an - %s' --graph
[fetch]
# fetch prune true will automatically cleanup local branches that have
# been deleted from the remote.
prune=true
[diff]
# if code is MOVED in git, color it yellow instead of coloring it as a
# red deletion and a green addition.
colorMoved = zebra
[pull]
rebase = false
[init]
defaultBranch = main