首页 > 技术文章 > git拉取远程更新到本地的非当前分支

laggage 2022-04-07 22:14 原文

# 我本地目前处于dev分支, 然后想更新本地的main分支
git fetch origin main:main

推荐阅读