-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitconfig
44 lines (44 loc) · 1.5 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
[core]
editor = vim
excludesfile = /home/z/Dropbox/z/.gitignore_global
ignorecase = false
[user]
email = [email protected]
name = zacanger
signingkey = F758A5EBFC761412
[push]
default = matching
[color]
ui = 1
[alias]
b = log -p -M --follow --stat --
fixup = "!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ${@:2} && EDITOR=true git rebase -i --autostash --autosquash $TARGET^; }; f"
ac = !git add -A && git commit
g = log --color --graph --pretty=format:'%Cgreen[%Creset%h%Cgreen]%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
st = status -sb
stash = stash -u
remote = remote -v
branch = branch -rv
rebase = rebase -i
add = add -A
p = push
clear = checkout .
rpo = remote prune origin
alias = config --get-regexp 'alias.*'
graph = log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s%n%Cgreen(%cr)%Creset by %C(bold blue)<%an>%Creset%Cred %GK%n'
all = "!find . -type d -name .git -prune -execdir pwd ';' -execdir git $@ ';' #"
gcpa = gc --prune --aggressive
authors = "!git ls-files | xargs -n1 git blame --line-porcelain | sed -n 's/^author //p' | sort -f | uniq -ic | sort -nr"
[help]
autocorrect = 10
[commit]
gpgsign = true
[http]
postBuffer = 524288000
[pull]
rebase = false
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f