-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
28 lines (28 loc) · 862 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
[core]
editor = vim
# Use diff-highlight if available
pager = "if [ -f /usr/local/share/git-core/contrib/diff-highlight/diff-highlight ]; then /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | less; else less; fi"
[user]
name = Lucas Flowers
email = [email protected]
[alias]
lp = log --full-diff --patch
l = log --oneline --decorate --graph
d = diff --word-diff
root = rev-parse --show-toplevel
wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads
[grep]
perlRegexp = true
perl-regexp = true
[push]
default = simple
[rebase]
autosquash = true
[merge]
tool = vimdiff
conflictstyle = diff3
prompt = false
[commit]
verbose = true
[init]
defaultBranch = main