1git fetch <远程仓库> <源分支>:<目标分支>2
3git fetch origin main:mainHow to update(fetch) main branch without switching to main?
This article was last updated on May 27, 2026 and some of the information may no longer be applicable due to the passage of time.
Article title:How to update(fetch) main branch without switching to main?
Article author:Julyfun
Release time:Sep 28, 2025
Copyright 2026
Sitemap