configs/nixos-config/update.sh

8 lines
90 B
Bash
Executable File

#!/usr/bin/env sh
set -euo pipefail
git fetch -a
git reset --hard
git clean -fd
git pull