Files
nix-files/push.sh
2024-11-07 23:01:43 +01: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