Git分支拉取远程分支并创建本地分支来追踪远程分支1 2 3 4 5 6 # 先拉取远程的更新到本地 git fetch origin # 创建本地分支并且自动追踪 git switch -t origin/develop git switch -t 远程仓库/远程分支-t:–track 设置追踪