Email or username:

Password:

Forgot your password?
(λ. borkdude)

It turns out writing a commit message with back-ticks (`) on the command line is an extremely bad and dangerous practice.

3 comments
tomekw

@borkdude like “added `rm .git/config` to the README”?

KingMob

@borkdude

Did you name your son "Robert `rm -rf /`"?

Oh yes, little Bobby Removal, we call him.

onetom

@borkdude that's a backwards way of thinking.
copy-pasting user input into shell commands without proper quoting is what's dangerous.
same would happen with `echo`, if you want to print markdown snippet with it, yet we don't portray markdown dangerous.
let not bash control how we write commit messages.
it would be very much like a tail wagging the dog situation.
racing to the bottom, where the weakest tool is the common denominator and determines how to use the rest of the tools?

Go Up