-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
50 lines (41 loc) · 1.27 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
[user]
name = Jack Burgess
email = [email protected]
username = jack828
signingkey = 5078DE7F5C4CA72B
[init]
defaultBranch = master
[diff]
algorithm = histogram
[push]
default = simple
followTags = true
[pull]
rebase = false
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ci = commit
co = checkout
st = status
br = branch
# the SHA to compare diffs against
review-base = !git merge-base HEAD \"$REVIEW_BASE\"
# list files which have changed since review_base
files = !git diff --name-only $(git review-base)
# Same as above, but with a diff stat instead of just names
# (better for interactive use)
stat = !git diff --stat $(git merge-base HEAD \"$REVIEW_BASE\")
# split-diff style review using vim-fugitive Gdiff
review = !$EDITOR -p $(git files) +\"tabdo Gdiff $REVIEW_BASE\" +\"let g:gitgutter_diff_base = '$REVIEW_BASE'\"
reviewone = !$EDITOR -p +\"tabdo Gdiff $REVIEW_BASE\" +\"let g:gitgutter_diff_base = '$REVIEW_BASE'\"
[color]
diff = auto
status = auto
branch = auto
[core]
whitespace = -trailing-space
editor = nvim
[commit]
gpgsign = true
[includeIf "gitdir:~/rfidentikit/"]
path = ~/.gitconfig_rfidentikit