Home > Q&A > body text
刚刚向远程仓库push了一个文件,发现push错了文件,请问怎么撤销这次远程仓库中的提交信息,重新进行push
怪我咯2017-04-27 09:04:46
Cancel:
git reset HEAD^
Forced push will change the remote history
git push origin master -f