Imported from prdlk/dotfiles master (efdd827). Drops the niri, Hyprland/Omarchy, macOS, and Blume docs-site layers; docs/ is plain Markdown.
10 lines
245 B
Bash
Executable File
10 lines
245 B
Bash
Executable File
#!/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
|