dotfiles/gitconfig

33 lines
800 B
Plaintext
Raw Normal View History

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
cl = "!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]__
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