Is it safe to put bash commands in git commit messages?

Viewed 92

Is it safe to have arbitrary bash commands in a git commit message like

git commit -m "rm -rf mydir"

I'm concerned that there might be somewhere this commit message could be executed unintentionally

0 Answers
Related