➜ fekit-extension-yo git:(dev) git push origin :master remote: error: By default, deleting the current branch is denied, because the next remote: error: 'git clone' won't result in any file checked out, causing confusion. remote: error: remote: erro
工作中遇到,代码已提交并已提交到远程仓库,现需要回退到之前版本,记录如下: 记录当前版本的版本号和需要回退到版本的版本号. current version:85e7f32dfe421c5892a4e2f38e7b542d1eacdf8c old version: 4d8757990c066212deab77d8fe56a95897a91a08 点击Reset HEAD,如下: Reset Type 选择Hard To Commit:输入之前记录的old version 点击Reset,版本回退如