Open GoldenStack opened 1 month ago
At least you did not get $(rm -rvf .)
lol, there should be a check for these types of commands
@CuriousCodingCanadian that defeats the point :) it should teach you a lesson to escape shell commands
Is that the purpose of this repo? I thought this was just for random commit messages
maybe not, but the purpose of putting that there :D
ah
@CuriousCodingCanadian that defeats the point :) it should teach you a lesson to escape shell commands
deleting the user's cwd is a pretty shitty way of teaching a lesson imo
fair enough
I needed to autogenerate some commits for a joke project and I ended up running this command about 30,000 times:
My computer shut down in the middle of this.
Turns out I ran
git commit --allow-empty -m "$(init 0)"
Lesson learned!
5/5 stars, repo works very well