-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
49 lines (37 loc) · 1.07 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
48
49
[init]
templatedir = ~/.git-template
defaultBranch = main
[user]
name = Chris Todorov
email = [email protected]
signingkey = F3FC218AC477C2E1
[github]
user = forkata
[commit]
cleanup = scissors
verbose = true
[merge]
tool = vimdiff
conflictstyle = diff3
[push]
default = simple
[pull]
rebase = true
[branch]
autosetuprebase = always
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
pushf = push --force-with-lease
pr = "!f() { git log --merges --ancestry-path --oneline $1..master | grep 'pull request' | tail -n1 | awk '{ print $5 }'; }; f"
flog = reflog --pretty=format:'%C(bold cyan)%h%C(reset) %C(blue)%cd %C(bold green)%s %C(bold cyan)%an%Creset%C(bold red)%d' --abbrev-commit --date=short
[core]
excludesfile = ~/.gitignore_global
[rebase]
autosquash = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[include]
path = ~/.gitconfig.local