git commit -a -m "<message>"可以stage所有已经tracked的文件,然后一并commit"<message>"会作为commit的日志。例如:

[root@localhost git_repo]# git commit -a -m "Make a REAL rainbow"
[crazy-alt 4f00399] Make a REAL rainbow