2021-06-17 21:22:17 +00:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
templatedir = ~/.git_template
|
|
|
|
[push]
|
|
|
|
default = current
|
|
|
|
[color]
|
|
|
|
ui = auto
|
|
|
|
[alias]
|
|
|
|
aa = add --all
|
|
|
|
ap = add --patch
|
|
|
|
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
|
|
|
|
ci = commit -v
|
|
|
|
co = checkout
|
|
|
|
pf = push --force-with-lease
|
|
|
|
st = status
|
2021-07-12 21:19:22 +00:00
|
|
|
br = branch
|
|
|
|
last = log -1 HEAD
|
2021-07-15 04:10:54 +00:00
|
|
|
cl = clone
|
|
|
|
cleanup = "!git branch --merged | egrep -v '(*|master|main|dev|develop)' | xargs -r git branch -d"
|
2021-06-17 21:22:17 +00:00
|
|
|
[user]
|
2021-07-13 01:06:01 +00:00
|
|
|
email = __[email]__
|
|
|
|
name = __[name]__
|
2021-07-13 01:08:58 +00:00
|
|
|
signingkey = __[signing_key]__
|
2021-06-17 21:22:17 +00:00
|
|
|
[url "git@github.com:"]
|
|
|
|
insteadOf = https://github.com
|
|
|
|
[core]
|
|
|
|
excludesfile = ~/.gitignore
|
|
|
|
[fetch]
|
|
|
|
prune = true
|
|
|
|
[rebase]
|
|
|
|
autosquash = true
|
|
|
|
[diff]
|
|
|
|
colorMoved = zebra
|
2021-07-13 01:12:06 +00:00
|
|
|
[commit]
|
|
|
|
gpgSign = true
|