git代码回滚命令版本

查看状态:
git status
列出分支基本命令:
git branch -v

git log
找到需要回滚的那条commit
git reset --soft fedd4d4b7b4dc396f3adb4d10d8f1a46594e0e25
git status
git add .
git commit -m 'xxx'

git push --force

posted @ 2023-04-27 20:35  三号小玩家  阅读(55)  评论(0)    收藏  举报
Title
三号小玩家的 Mail: 17612457115@163.com, 联系QQ: 1359720840 微信: QQ1359720840