dotfiles/gitconfig

70 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-06-17 16:22:17 -05:00
[init]
defaultBranch = main
templatedir = ~/.git_template
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[push]
default = current
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[color]
ui = auto
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[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 16:19:22 -05:00
br = branch
last = log -1 HEAD
2021-07-14 23:10:54 -05:00
cl = clone
2022-10-07 20:18:33 -05:00
cleanup = "!git branch --merged | rg -v \"(\\*|master|main|dev|develop)\" | xargs -r git branch -d"
2021-07-21 13:17:30 -05:00
history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
2022-05-17 11:53:27 -05:00
ignore = update-index --assume-unchanged
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[user]
2022-10-14 15:47:22 -05:00
email = {{email}}
name = {{name}}
signingkey = {{signing_key}}
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[url "git@github.com:"]
insteadOf = https://github.com
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[core]
excludesfile = ~/.gitignore
2022-05-31 10:37:33 -05:00
pager = delta
2021-06-17 16:22:17 -05:00
[fetch]
prune = true
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[rebase]
autosquash = true
2022-05-31 10:37:33 -05:00
2021-06-17 16:22:17 -05:00
[diff]
colorMoved = zebra
2022-05-31 10:37:33 -05:00
2021-07-12 20:12:06 -05:00
[commit]
gpgSign = true
2022-05-31 10:37:33 -05:00
[sequence]
2022-05-04 23:53:20 -05:00
editor = interactive-rebase-tool
2022-05-31 10:37:33 -05:00
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
line-numbers = true
side-by-side = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
2022-09-08 11:54:32 -05:00
[credential]
helper = store