by aendruk · 4y ago · 0 comments
git() { if [[ "$1" == 'checkout' ]]; then echo 'Reminder: Use `git switch` or `git restore` instead.' >&2 fi command git "$@" }