Daily # 拉取所有更新,但不同步到本地 git fetch --all # 重置本地代码,使其与远程仓库的master分支同步 git reset --hard origin/master # 再次拉取更新,确保本地是最新状态 git pull # 更新本地 git add source git commit -m 'xxxx/x/xx' # 提交本地分支 git push -u origin main git push