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

結論

git commitに -amオプションを指定する。

git commit -am "add user signup"

参考

git addとcommitを一括でしたい。