dotfiles/git/.gitconfig

46 lines
1.4 KiB
INI
Raw Normal View History

2018-04-05 12:34:27 +02:00
[user]
2023-08-18 19:22:05 +02:00
email = mail@tobiasmanske.de
2022-03-16 23:36:19 +01:00
name = Tobias Manske
2023-03-25 13:40:37 +01:00
signingkey = 511951B04CA6348737AAA76344EA83E2013CC39A
2018-04-05 12:34:27 +02:00
[alias]
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)'
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
2023-01-17 23:39:15 +01:00
template = ~/.config/git/message
2018-04-05 12:34:27 +02:00
[core]
2022-03-16 23:36:19 +01:00
autocrlf = input
2023-01-17 23:39:15 +01:00
attributesFile = ~/.config/git/attributes
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
2022-11-02 19:14:51 +01:00
[push]
autoSetupRemote = true
2023-01-24 21:18:54 +01:00
default = current
[interactive]
diffFilter = delta --color-only
[delta]
2022-04-04 23:10:48 +02:00
features = line-numbers decorations
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"
2022-11-02 19:14:51 +01:00
[merge]
tool = smerge
2023-08-18 19:22:05 +02:00
[safe]
directory = /opt/flutter