13 lines
220 B
Bash
13 lines
220 B
Bash
|
#!/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
|