下载主分支代码:
git clone https://github.com/SinevaRobot-BJ/Sineva_VINS_Localization.git
下载指定分支代码:
git clone -b dev_jk https://github.com/SinevaRobot-BJ/Sineva_VINS_Localization.git
PS:dev_jk为分支名称,例如下载test分支代码为:
git clone -b test https://github.com/SinevaRobot-BJ/Sineva_VINS_Localization.git
命令中:多了一个 -b dev-jk,这个dev_jk就是分支,https://github.com/SinevaRobot-BJ/Sineva_VINS_Localization.git为源码的仓库地址
下载指定分支的代码中到某个目录:
git clone -b test https://github.com/SinevaRobot-BJ/Sineva_VINS_Localization.git /home/z/
跳过github帐号密码登陆:
git clone -b test https://用户:密码@github.com/SinevaRobot-BJ/Sineva_VINS_Localization.git /home/z/
网友评论