git status :查看当前状况
git add hello.php :将文件提交到暂存区
git commit -m"提交描述" :将文件由暂存区提交到仓库中
Git 基本工作流程
原文:http://www.cnblogs.com/licl11092/p/7501769.html