dotfiles/git/.gitconfig.symlink

14 lines
328 B
Text
Raw Normal View History

2024-01-21 21:00:53 -08:00
# vim:set ft=toml sw=4 :
[alias]
prevision = "!f() { git checkout `git log --oneline $2 | awk -v commit=\"$1\" 'FNR == -commit+1 {print $1}'` $2; }; f"
nevermind = "reset --hard HEAD && git clean -df"
[rebase]
autosquash = true
[merge]
tool = vimdiff
[mergetool]
keepBackup = false
hideResolved = true