Compare commits
3 commits
e292e4c728
...
1875f11ac1
| Author | SHA1 | Date | |
|---|---|---|---|
| 1875f11ac1 | |||
| 3bcd19923e | |||
| 298e56fd49 |
1 changed files with 12 additions and 0 deletions
12
git-update.sh
Executable file
12
git-update.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/run/current-system/sw/bin/bash
|
||||
# add nix config 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