git退回后提交

修改了几个版本并提交到了remote端,然后通过reset退回到其中一个版本,继续修改后直接push,提示错误: ![rejected]  master->master(fetch first)  error:failed to pushsome refs to 'https://github.com/xxx/xxx.git'   由于接触git不深,所以网上找到的解决方案是直接pull再push
相关文章
相关标签/搜索