Manage dotfiles with dotter
This commit is contained in:
42
git/.gitconfig
Normal file
42
git/.gitconfig
Normal file
@ -0,0 +1,42 @@
|
||||
[user]
|
||||
email = tobias.manske@mailbox.org
|
||||
name = Tobias Manske
|
||||
signingkey = FF57750B830AA3A1
|
||||
[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)' --all
|
||||
fzf = "!git lg --color=always | fzf --multi --preview 'git show --color=always {+2}' --ansi"
|
||||
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
|
||||
undo = reset HEAD~
|
||||
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
|
||||
[commit]
|
||||
gpgsign = true
|
||||
template = ~/.config/git/message
|
||||
[core]
|
||||
autocrlf = input
|
||||
attributesFile = ~/.config/git/attributes
|
||||
pager = delta
|
||||
[github]
|
||||
user = rad4day
|
||||
[pull]
|
||||
rebase = true
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[delta]
|
||||
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
|
||||
[hub]
|
||||
protocol = https
|
||||
[credential]
|
||||
helper = store
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[diff "dyff"]
|
||||
command = "dyff_between() { dyff --color on between --omit-header \"$2\" \"$5\"; }; dyff_between"
|
||||
[merge]
|
||||
tool = smerge
|
Reference in New Issue
Block a user