Skip to content

VSC Tool

Command-line tools for maintaining a workspace of projects from multiple version-control systems. ROS Wiki

install
sudo apt install python3-vcstool

Repos file

project.repo
1
2
3
4
5
6
7
8
9
repositories:
  my_robot_pkg:
    type: git
    url: https://github.com/my-org/my_robot_pkg.git
    version: main
  nav2_bringup:
    type: git
    url: https://github.com/ros-planning/navigation2.git
    version: humble

Import and update

import
vsc import < project.repos
update
vsc pull

Export

export
vsc export > project.repos

Use case

  • Import .repos file from a GitHub repository or using other whays like curl or wget.
  • Run vsc import to clone the repositories.