-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
42 lines (34 loc) · 992 Bytes
/
gitconfig
File metadata and controls
42 lines (34 loc) · 992 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
30
31
32
33
34
35
36
37
38
39
40
41
42
[push]
default = current
autoSetupRemote = true
[alias]
sbr = "!f() { git branch | grep "^*"; }; f"
lsa = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate -15
lss = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate -15 --show-signature
co = checkout
ci = commit
cp = cherry-pick
st = status -s
br = branch -vv
diff = diff --word-diff
tree = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --graph
[core]
editor = vim
autocrlf = input
excludesFile='~/.gitignore.global'
[pull]
ff = only
[fetch]
prune = true
[include]
path = ~/.gitconfig.user
[includeIf "gitdir:~/Projects/work/"]
path = ~/.gitconfig.work
[diff "sopsdiffer"]
textconv = sops -d
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true