#!/bin/sh
# Discard all git changes with gum confirmation.
if gum confirm "Discard all uncommitted changes? This is irreversible."; then
    git reset --hard HEAD
    git clean -fd
    echo "Changes wiped."
else
    echo "Operation aborted."
fi
