Ask Your Question

Saving ROS2 Dashing workspace to github

asked 2020-04-23 04:52:07 -0500

svintissen gravatar image

Hi, I am pretty new to git and ROS2, and I want to save my ROS2 Dashing workspace as a GitHub repository. How do I do this? Thanks in advance!!

edit retag flag offensive close merge delete


Seems like this is a GitHub question rather than a ROS question. By "workspace" do you mean your source code?

christophebedard gravatar image christophebedard  ( 2020-04-23 09:01:51 -0500 )edit

Would #q347421 cover this?

gvdhoorn gravatar image gvdhoorn  ( 2020-04-24 03:32:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-23 21:43:55 -0500

johnconn gravatar image

The way the instructions recommend handling this is version control for each package in your workspace, and a separate metafile that stores where each package is hosted/which branch to use

from the dashing build from source instructions

Create a workspace and clone all repos:

mkdir -p ~/ros2_dashing/src
cd ~/ros2_dashing
vcs import src < ros2.repos

here's what the text looks like in this .repos file

    type: git
    version: dashing
    type: git
    version: dashing
    type: git
    version: dashing
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-04-23 04:52:07 -0500

Seen: 83 times

Last updated: Apr 23 '20