helm/config/git/config
Henrik Lissner 2153142a13 Add ssh+gh: alias for git@github.com:... urls
I'm a lazy typist.
2021-04-13 20:30:00 -04:00

45 lines
1.1 KiB
Plaintext

[user]
name = Henrik Lissner
email = henrik@lissner.net
[core]
whitespace = trailing-space
[init]
defaultBranch = main
[github]
user = hlissner
[rebase]
autosquash = true
[push]
default = current
[pull]
rebase = true
[alias]
unadd = reset 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:"]
insteadOf = ssh+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:
[diff "lisp"]
xfuncname = "^(((;;;+ )|\\(|([ \t]+\\(((cl-|el-patch-)?def(un|var|macro|method|custom)|gb/))).*)$"
[diff "org"]
xfuncname = "^(\\*+ +.*)$"