📜  git force pull - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:35.709000             🧑  作者: Mango

代码示例6
# if working with newer repos where 'master' is now 'main'
git fetch --all
git reset --hard origin/main