提交更新

git status
git add -A
git commmit -m "---"
可能要登录
git config --global user.email "XXX@qq.com"
git config --global user.name "XXX"
git pull
【Already up to date】
git push
【如果是Every thing up-to-date 重新从git status走一遍】

放弃本地修改 同步git上最新版本

 git fetch --all
    git reset --hard origin
    git pull

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄