git reset 远程分支的方法

yinhuachen / 2023-05-05 / 原文

https://stackoverflow.com/questions/5816688/resetting-remote-to-a-certain-commit

 

 git reset --hard <commit-hash>
 git push -f origin master