this post was submitted on 08 Dec 2024
20 points (88.5% liked)
Linux
5482 readers
319 users here now
A community for everything relating to the linux operating system
Also check out [email protected]
Original icon base courtesy of [email protected] and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
usage
should just behelp
(avoid extra step)connect
does not exist (seeadd
and cmd list)git clone <REPO> <DEST FOLDER>
, no need tocd
maybeCreateDir
is not used each time, there are somemkdir
{MESSAGE:=change}
set -euxo pipefail
at the start of the script if you want to exit at any error. Some sort of bash strict models
's outputI'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 withgit
that 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 -t
exist too.yes ... I fixed that too, using -t and -d now.