Skip to content

Git常用命令

强制拉取远程代码更新本地

Git
git fetch origin 
git reset --hard origin/master  # 假设你想要重置的是master分支

CSDN博主 大宝贱 的个人博客