-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
61 lines (61 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
[user]
email = brandon.coffman@lexmark.com
name = Brandon Coffman
[log]
color = true
[difftool]
prompt = true
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE -c '$wincmd w'
[color]
ui = auto
branch = always
interactive = always
status = always
[alias]
s = status
l = log --name-status --date=format:'%Y-%m-%d %H:%M' --graph --decorate
d = diff
c = commit --verbose
lm = log --name-status --date=format:'%Y-%m-%d %H:%M' --graph --decorate "$1^..$1"
[core]
excludesfile = ~/.gitignore
editor = nvim
[push]
default = matching
[alias]
unstage = reset -q HEAD --
amend = commit --amend
precommit = diff --cached --diff-algorithm=minimal -w
unmerged = diff --name-only --diff-filter=U
stashes = stash list --pretty=format:'%C(bold 13)%gd%C(bold 11): %C(14)%s'
relative = log --decorate --graph --abbrev-commit --date=relative
graph = log --graph --date=short --pretty=format:'%C(white)%h%C(reset) %C(bold 13)%ad %C(bold 11)|%C(reset) %C(11) %s %C(bold 14)[%an]%C(reset)%C(12)%d%C(reset)'
branches = log --color --graph --oneline --decorate --simplify-by-decoration --all
[color "diff"]
commit = 11 bold
meta = 13 bold
frag = 12 bold
old = 9 bold
new = 10 bold
whitespace = 1 bold reverse
context = 248
[color "decorate"]
head = 14 bold
branch = 13 bold
remoteBranch = 9 bold
tag = 11 bold
stash = 13 bold
HEAD = 10 bold
[color "status"]
header = 7 bold
added = 10 bold
changed = 12 bold
untracked = 9 bold
branch = 13 bold
nobranch = 9 bold reverse
unmerged = 11 bold