add: update scripts
This commit is contained in:
parent
535e0c91b1
commit
e11fccf329
3 changed files with 13 additions and 1 deletions
12
update.sh
Executable file
12
update.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/run/current-system/sw/bin/bash
|
||||
# add things to git
|
||||
|
||||
COMMIT_MSG="Update NixOS config."
|
||||
echo "Commit message?"
|
||||
# what did I change?
|
||||
read COMMIT_MSG
|
||||
echo "OK!"
|
||||
|
||||
git add .
|
||||
git commit -m "$COMMIT_MSG"
|
||||
git push origin main
|
Loading…
Add table
Add a link
Reference in a new issue