dotfiles/.gitconfig

40 lines
1.3 KiB
INI
Raw Normal View History

2018-04-05 12:34:27 +02:00
[user]
2022-03-16 23:36:19 +01:00
email = tobias.manske@mailbox.org
name = Tobias Manske
signingkey = FF57750B830AA3A1
2018-04-05 12:34:27 +02:00
[alias]
2018-06-10 21:56:57 +02:00
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
2020-05-22 13:10:59 +02:00
fzf = "!git lg --color=always | fzf --multi --preview 'git show --color=always {+2}' --ansi"
2018-04-05 12:34:27 +02:00
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
2018-04-07 03:50:21 +02:00
undo = reset HEAD~
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
2018-04-05 12:34:27 +02:00
[commit]
2022-03-16 23:36:19 +01:00
gpgsign = true
template = ~/.gitmessage
2018-04-05 12:34:27 +02:00
[core]
2022-03-16 23:36:19 +01:00
autocrlf = input
2022-06-01 19:08:36 +02:00
attributesFile = ~/.dotfiles/gitattributes
pager = delta
[github]
2022-03-16 23:36:19 +01:00
user = rad4day
2021-02-10 02:28:11 +01:00
[pull]
2022-03-16 23:36:19 +01:00
rebase = true
[interactive]
diffFilter = delta --color-only
[delta]
2022-04-04 23:10:48 +02:00
features = line-numbers decorations
syntax-theme = OneHalfDark
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
2022-03-19 22:37:06 +01:00
[hub]
protocol = https
2022-04-04 23:10:48 +02:00
[credential]
helper = store
2022-06-01 19:08:36 +02:00
[init]
defaultBranch = main
[diff "dyff"]
command = "dyff_between() { dyff --color on between --omit-header \"$2\" \"$5\"; }; dyff_between"