-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
47 lines (47 loc) · 1.15 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
[color]
diff = auto
status = auto
branch = auto
grep = auto
[user]
name = Greg Meyer
email = gregory.matthew.meyer@gmail.com
# signingkey = 51C0CD23
[credential]
helper = cache --timeout=3600
[core]
editor = emacsclient -t
autocrlf = false
safecrlf = true
excludesfile = ~/.gitignore_global
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
cleanup = !git fetch --prune && git fetch --prune origin '+refs/tags/*:refs/tags/*' && git fetch --prune --tags && git remote prune origin && git prune
cleanup-all = !git cleanup && git gc --prune=now
[push]
default = current
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[include]
path = ~/.host_gitconfig
path = ~/.secret_gitconfig
# [commit]
# gpgsign = true
# [tag]
# forceSignAnnotated = true
[gpg]
program = gpg
[pull]
rebase = false
[init]
defaultBranch = main