-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
29 lines (29 loc) · 991 Bytes
/
.gitconfig
File metadata and controls
29 lines (29 loc) · 991 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
[core]
excludesfile = ~/.gitignore_global
editor = nvim
[credential]
helper = cache
[alias]
d = diff
ds = diff --staged
l = log --graph --decorate --oneline
ll = log --graph --decorate --stat
ld = log --graph --pretty=format:\"%C(yellow)%h%Creset%C(yellow)%C(bold)%d%Creset %C(cyan)(%cr)%Creset %C(green)%an%Creset %s\"
st = status --short --branch
la = log --graph --oneline --all
lr = "!r() { count=$1; git for-each-ref --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)' --color=always --count=${count:=10} | column -ts'|';}; r"
[push]
default = simple
[color]
ui = true
[diff]
tool = vimdiff
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[pull]
rebase = false
[init]
defaultBranch = master