查看仓库当前的状态: git status查看仓库的修改: git diff (可以加文件名)提交修改$ git add blog$ git commit -m "说明"注: add其实是将修改提交到暂存区。commit是将暂存区修改提交到分支上