-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
28 lines (28 loc) · 961 Bytes
/
.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
[color]
ui = auto
[user]
name = Taylor Erwin
email = j.taylor.e@gmail.com
[alias]
dot = !git --git-dir=$HOME/.dotfiles/.git --work-tree=$HOME
lolb = log --oneline --decorate
lol = log --oneline --graph --decorate --all
co = checkout
ci = commit
br = branch
stat = status
st = status
rall = "!f() { git branch --contains $2 | sed -re 's/\\s|\\*//g' | xargs -n 1 git rebase $1; }; f"
edit-tag = "!f() { echo GIT_COMMITTER_DATE=\"$(git for-each-ref --format '%(taggerdate:raw)' refs/tags/$1)\" git tag $1 $1 -f -a; }; f"
empty-tree-sha1 = hash-object -t tree /dev/null
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
[core]
excludesfile = ~/.gitignore
whitespace = trailing-space,space-before-tab
pager = (which my_pager &>/dev/null) && my_pager || less
[help]
autocorrect = 1
[rerere]
enabled = true
[merge]
conflictstyle = diff3