-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
23 lines (23 loc) · 858 Bytes
/
.gitconfig
File metadata and controls
23 lines (23 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[user]
name = Jason Yoo
email = jasonyoo0515@gmail.com
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
excludesFile = /Users/jason/.gitignore_global
editor = nvim
[alias]
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
pl = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
suicide = "!current_branch=$(git branch --show-current) && git checkout $(basename $(git symbolic-ref --short refs/remotes/origin/HEAD)) && git branch -D $current_branch"
[diff]
algorithm = histogram
[branch]
sort = -committerdate
[merge]
conflictstyle = zdiff3
[init]
defaultBranch = main