git init 初始化
git status 查看状态
红色 未被托管
绿色 没完全托管
白色 被托管
git add 文件名 托管文件
git config --global user.email"111@qq.com"
git config --global user.name"aaronthon" 设置版本前告诉它谁设置的版本
git commit -m "版本号" 这就将文件的版本设置好了,被完全托管了
git log 显示所有版本
git reset --hard 版本信息字符串 回到这个版本
git reflog 显示历史版本信息
git push origin dev_name:dev_name