1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-25 04:51:31 +01:00
dotfiles/gitconfig

Failed to ignore revisions in .git-blame-ignore-revs.

40 lines
918 B
Plaintext
Raw Normal View History

2020-12-03 18:29:40 +01:00
# vi:syntax=gitconfig
#[core] # DEPRECATED: excludesfile should be in ~/.config/git/ignore
#excludesfile = ~/.gitignore
2020-11-22 16:58:46 +01:00
2020-12-03 18:29:40 +01:00
#[init]
# templatedir = ~/.git_template
2020-11-22 16:58:46 +01:00
[pull]
ff = only
rebase = true
[merge]
ff = only
2021-03-15 10:29:37 +01:00
tool = vimdiff
2020-11-22 16:58:46 +01:00
2020-12-03 18:29:40 +01:00
[mergetool]
keepBackup = false
2020-11-22 16:58:46 +01:00
[diff]
2021-03-15 10:29:37 +01:00
tool = vimdiff
2020-11-22 16:58:46 +01:00
2020-12-03 18:29:40 +01:00
[difftool]
prompt=true
2023-09-15 10:23:01 +02:00
2020-11-22 16:58:46 +01:00
[rebase]
autostash = true
autosquash = true
2020-12-03 18:29:40 +01:00
squash = true
2020-11-22 16:58:46 +01:00
[log]
abbrevcommit = true
2020-12-03 18:29:40 +01:00
[format]
[alias]
showtool = "!showci () { rev=${1:-HEAD}; git difftool $rev~1 $rev; }; showci $1"
2021-10-09 12:28:10 +02:00
mylog = "log --pretty='format:👉 %C(yellow)commit: %h%C(auto)%d %Creset%nAuthor: %C(auto,cyan)%>(12)%an (%aE)%n%C(reset)Date: %C(auto,green)%ar%Creset%nContent: %s'"
flog = "!flog() { git log --oneline $@ | fzf --multi --preview 'git -p show --color=always {+1}' --preview-window=right,60% | awk '{print $1}'; }; flog"
2024-03-01 11:23:24 +01:00
taglist = "tag --list --sort=-creatordate --format=\"%(authordate:relative)%09│ %(refname:short)\""