git拉取远程更新到本地的非当前分支

# 我本地目前处于dev分支, 然后想更新本地的main分支
git fetch origin main:main
posted @ 2022-04-07 22:14  Laggage  阅读(119)  评论(0编辑  收藏  举报