Files
nix-files/push.sh
2024-10-31 13:49:02 +01:00

13 lines
158 B
Bash
Executable File

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