使用git init在当前目录下初始化git使其可用使用git add+文件名 将本地硬盘上的文件提交到等待列表中使用git status查看当前状态使用git commit+文件名 -m "注释信息支持中文" 提交到本地仓库 使用git push+文件名 提交到github