-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
29 lines (29 loc) · 832 Bytes
/
.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
[push]
default = simple
autoSetupRemote = true
[credential]
helper = osxkeychain
[core]
editor = nvim
[rerere]
enabled = true
[alias]
ll = log --color --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = log --oneline --graph --decorate
diff2 = diff --compaction-heuristic
fix = "!f() { ${EDITOR} `git diff --name-only`; }; f"
clean-branches = !git branch | grep -v master | xargs git branch -D
clone-for-worktrees = "!sh $HOME/git-clone-bare-for-worktrees.sh"
clone-wt = clone-for-worktrees
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[commit]
gpsign = true
gpgsign = true
[http]
postBuffer = 157286400
[init]
defaultBranch = master