Files
nix-files/#push.sh#
2024-11-10 16:53:41 +01:00

14 lines
182 B
Bash
Executable File

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