-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig
More file actions
69 lines (51 loc) · 1.27 KB
/
gitconfig
File metadata and controls
69 lines (51 loc) · 1.27 KB
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
62
63
64
65
66
67
68
69
# vim: set ft=gitconfig:
[alias]
lg = log --abbrev-commit --date=relative --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset'
gsb = gss --branch
verbs = !git log --pretty=format:'%s' | cut -d \" \" -f 1 | sort | uniq -c | sort -nr | head -15
patch = !git --no-pager diff --no-color
[branch]
autoSetupRebase = always
[core]
autocrlf = input
excludesfile = ~/.dotfiles/git/.gitignore_global
# Speed up commands involving untracked files such as "git status".
# https://git-scm.com/docs/git-update-index#_untracked_cache
untrackedCache = true
[color]
ui = always
[color "status"]
added = cyan
changed = red
untracked = yellow
[commit]
gpgSign = true
template = ~/.dotfiles/git/gitmessage.txt
[fetch]
prune = true
[gpg]
program = gpg
[help]
autocorrect = 1
[interactive]
singleKey = true
[merge]
tool = vimdiff
[rebase]
autoSquash = true
[pager]
diff = diff-so-fancy | less --tabs=4 -RFX
show = diff-so-fancy | less --tabs=4 -RFX
[push]
default = current
[user]
name = Rui Afonso Pereira
signingkey = F2D97CF6F1156874
useConfigOnly = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main