ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I would not create a new repo, but create a fork from the repo's of the packages you've edited and push your edited work to the fork. That makes more sense than creating a new repo, especially if most of the work isn't yours (it's not illegal or anything, don't worry, I just personally wouldn't create a new repo instead of a fork in these situations).

Then there are 2 options, the lazy way would be to clone your forked repo to some other place on your pc and just copy the packages you've edited and paste them into your forked repo (just literally do this from the file explorer like you would merge 2 folders on Windows). Just tell it to 'replace all' when you get the prompt. Then just simply commit and push like you would any other git repo

The second option is more complex, and I'm not too versed in git to properly explain it, so I'm not going to do that.

You and your friend will then be able to both work on that fork over the summer (just remember to not work on the same branch, to avoid merge conflicts on a branch).

As for your final portion of your question. On your new pc you will need to create a new workspace + src folder, clone your forked repos (the ones you've pushed your changes to) and rebuild your packages. That's something you'll always need to do with ROS when starting on a new pc.