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
|
2021-07-19 15:54:31 +00:00
|
|
|
cleanup = "!git branch --merged | egrep -v \"(\\*|master|main|dev|develop)\" | xargs -r git branch -d"
|
2021-07-21 18:17:30 +00:00
|
|
|
history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
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
|
2021-08-05 20:08:55 +00:00
|
|
|
[sequence]
|
2022-05-05 04:53:20 +00:00
|
|
|
editor = interactive-rebase-tool
|