1)配置用户信息git config --global user.name "username" git config --global user.email "**@qq.com"2)清除原登入windows打开控制面板->用户管理->web凭证管理->删除github的登入取消commitgit reset --soft //回退版本号,工作区依旧存在git reset --hard //回退版本号,不保留源码,工作区,暂存区都不存在了 git reset --mixed //