- cross-posted to:
- opensource@lemmy.ml
- cross-posted to:
- opensource@lemmy.ml
You must log in or register to comment.
- You need a license
usageshould just behelp(avoid extra step)connectdoes not exist (seeaddand cmd list)- You can
git clone <REPO> <DEST FOLDER>, no need tocd maybeCreateDiris not used each time, there are somemkdir- “changes” is not a helpfull commit message. Accept an optional argument string and
{MESSAGE:=change} - Accept a different repo path
set -euxo pipefailat the start of the script if you want to exit at any error. Some sort of bash strict mode- shellcheck does not like iterating over
ls’s output
I’m too lazy to open issues/PR for all that, and I still need to learn
stow. Hopfully this might help me ? (I don’t really need help withgitthat this sçript look to abstract too much for me.)oh hey… thx for the input… just did some refactoring… never realized there was also a
git -C workdir <cmd>since I never use it.Apparently
stow -texist too.
If anyone is looking for alternatives there is Chezmoi, it was worked very well for me.



