git add . 缓存代码
git pull 下拉远程代码
git status 本地代码状态
git commit -m “修改log”
git push 推送到远程服务器
git 分支查看与切换
1.查看所有分支
git branch -a
2.查看当前使用分支(结果列表中前面标*号的表示当前使用分支)
git branch
3.切换分支
git checkout 分支名
git 撤销,放弃修改参考下面链接⬇️
https://www.cnblogs.com/qufanblog/p/7606105.html