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