Files
nix-files/push.sh
2025-03-31 00:04:25 +02:00

13 lines
164 B
Bash
Executable File

#!/bin/sh
if [ -z "$1" ]
then
echo "No commit message supplied"
exit 1
fi
sudo cp -r /etc/nixos/* .
git add *
git commit -m "$1"
git push origin laptop