gitでaddとcommitを同時に実行する

結論 git commitに -amオプションを指定する。 例 git commit -am "add user signup" 参考 git addとcommitを一括でしたい。