automatic git version control in scripts

This commit is contained in:
Rakarake 2026-04-05 23:26:40 +02:00
parent 6a5baa5416
commit 770a20de04
2 changed files with 8 additions and 0 deletions

3
new.sh
View file

@ -1,3 +1,6 @@
#!/bin/sh
git pull
printf "name of file (e.g. day67.md): "
read filename
cargo run -- new > blogs/$filename