helm/config/git/config
Henrik Lissner 344ed305c5
Improve git config
+ Replace 'git browse' (hub-only) with git-open
+ Add URL aliases for github, gist and gitlab
+ Replace 'git branch' alias with 'git branch -av'
2020-10-11 01:31:33 -04:00

44 lines
1.1 KiB
Plaintext

[user]
name = Henrik Lissner
email = henrik@lissner.net
signingkey = 5F6C0EA160557395
[commit]
gpgsign = true
[core]
whitespace = trailing-space
[github]
user = hlissner
[rebase]
autosquash = true
[push]
default = current
[alias]
amend = commit --amend
exec = "!exec "
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
ls = ls-files
orphan = checkout --orphan
unadd = reset HEAD
undo-commit = reset --soft "HEAD^"
# data analysis
ranked-authors = !git authors | sort | uniq -c | sort -n
emails = !git log --format="%aE" | sort -u
email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u
[filter "lfs"]
required = true
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
clean = git-lfs clean -- %f
[url "https://github.com/"]
insteadOf = gh:
[url "git@github.com:hlissner/"]
insteadOf = gh:/
[url "https://gitlab.com/"]
insteadOf = gl:
[url "https://gist.github.com/"]
insteadOf = gist:
[url "https://bitbucket.org/"]
insteadOf = bb:
[url "https://git.v0.com"]
insteadOf = v0: