Ask Your Question
1

Multiple GIT repositories in a workspace

asked 2014-12-03 04:30:15 -0500

Dear fellow ROS-users,

I was wondering about the best practice to maintain multiple GIT repositories within a workspace (and possibly another GIT-repository). This problem is also present when forking repositories of GitHub for instance.

We have a current set-up:

  • Four workspaces.
  • One big repository containing all packages we have created, containing all the workspaces.

What we want:

  • Different repositories for different (groups of) packages.
  • Automatic updates (git pull) of repositories.

I have taken a look at GIT submodules. But in my opinion it is quite unclear when working on these. For instance:

  • On what repository am I working (committing/pushing/pulling) at the moment? This results in commits done on wrong repositories. Adding a folder of a submodule when adding on its parent result in the folder added to the parent GIT repository.

Is was wondering how other people are doing this. Second, what are your thoughts on the best way to do this and also having all the GIT repositories up-to-date?

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-12-03 04:45:39 -0500

dornhege gravatar image

http://wiki.ros.org/wstool is exactly what you are looking for.

edit flag offensive delete link more

Comments

It works like a charm. Thank you for your quick comment on this issue!

mathijsdelangen gravatar imagemathijsdelangen ( 2014-12-03 06:06:49 -0500 )edit

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

Stats

Asked: 2014-12-03 04:30:15 -0500

Seen: 822 times

Last updated: Dec 03 '14