📜  force pull git - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:08.260000             🧑  作者: Mango
代码示例6
# if working with newer repos where 'master' is now 'main'
git fetch --all
git reset --hard origin/main