git: commit without additional info (--quiet flag dont work)

时间:2015-05-04 19:42:45

标签: git

I am writing bash script now. Why this is not correct command? How to combine usage of several flags?

git commit --quiet -m "-"

1 个答案:

答案 0 :(得分:2)

要么你拼错了--quiet

git commit --quiet -m "-"

或者您需要使用一个连字符来引入一组选项。以下是等效的:

git commit -q -u -i -t -e -m "-"
git commit -quite -m "-"
git commit -quitem "-"