设置远端仓库:git remote add 远端仓库名称 远端地址
拉取远端分支:git fetch 远端仓库名称
例如:ctrl+~打开vscode控制台,输入git remote add upstream https://git.vcode.cn/front.git,再输入git fetch upstream远端分支就设置并拉取好啦
使用git命令行在vscode上设置远端仓库并拉取远端分支
于 2022-02-24 16:42:40 首次发布
设置远端仓库:git remote add 远端仓库名称 远端地址
拉取远端分支:git fetch 远端仓库名称
例如:ctrl+~打开vscode控制台,输入git remote add upstream https://git.vcode.cn/front.git,再输入git fetch upstream远端分支就设置并拉取好啦