00_git相关的

本文介绍了如何使用git克隆包含子模块的仓库,通过`gitclone--recurse-submodules`或`gitsubmoduleupdate--init`命令来初始化和更新子模块。同时,详细阐述了在GitHub上添加公钥以顺利拉取其他仓库代码的步骤,确保无密码克隆操作的进行。

1.使用git 克隆源代码仓库,使用submodule的方法

# clone git repository and initialize submodules:

git clone --recurse-submodules <repository>

# or, in case you have already cloned the git repository:

git clone <repository>

cd <repository-directory>

git submodule update --init

 1.使用github添加public ssh key

 添加完ssh public key后,使用git submodule update --init 才能从github上下载别的仓库的源码。

效果如下:

(isaaclab) PS C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab> .\isaaclab.bat --install [INFO] Installing extensions inside the Isaac Lab repository... "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab" module: "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab" 'C:\Isaac' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_assets" [ERROR] Unable to find any Python executable at path: This could be due to the following reasons: 1. Conda environment is not activated. 2. Python executable is not available at the default path: C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\_isaac_sim\python.bat module: "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_assets" '-m' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_mimic" [ERROR] Unable to find any Python executable at path: This could be due to the following reasons: 1. Conda environment is not activated. 2. Python executable is not available at the default path: C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\_isaac_sim\python.bat module: "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_mimic" '-m' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_rl" [ERROR] Unable to find any Python executable at path: This could be due to the following reasons: 1. Conda environment is not activated. 2. Python executable is not available at the default path: C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\_isaac_sim\python.bat module: "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_rl" '-m' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 "C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\source\isaaclab_tasks" [ERROR] Unable to find any Python executable at path: This could be due to the following reasons: 1. Conda environment is not activated. 2. Python executable is not available at the default path: C:\Isaac Lab\isaaclab\IsaacLab_git\IsaacLab\\_isaac_sim
07-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值