-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
39 lines (38 loc) · 1.18 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
[user]
name = itsAlexK
email = [email protected]
[alias]
cleanup = "!git fetch -ap; git branch | grep -v "master" | grep -v ^* | xargs git branch -D;"
save ="!git add --all && git commit --all -m 'SAVE' --no-verify"
undo = "!git reset --soft HEAD~1"
lg = !zsh -c 'source $HOME/.zsh/fzf && gli'
ignore = "!git update-index --skip-worktree"
unignore= "!git update-index --no-skip-worktree"
showignored = "!git ls-files -v|grep '^S'"
untag = "!git tag -d"
recent = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[37m %s\\033[0m\\n\", substr($2, 1, length($2)-1), $1)}'
[credential]
helper = osxkeychain
[core]
excludesfile = ~/.gitignore
pager = delta --dark
editor = nvim
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[pull]
ff = only
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[http]
postBuffer = 1048576000
[credentials]
helper = osxkeychain