git add 加入版本管理
git commit -m “日志”
git remote add origin <远程Git仓库地址>
git push origin master
git log 查看版本信息
忽略版本信息
git pull origin master --allow-unrelated-histories
退回到指定版本
git reset --hard [版本号]
设置用户名和邮箱
git config --global user.name “Your Name”
git config --global user.email “your_email@example.com”