Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 7 months ago.
Revision Control on modified, imported library
I am working with the m3pi robot, so I have imported the m3pi library into my programs. We made some hardware modifications to the robot that required me to make some changes to the m3pi library. Now when I try to commit my program, it tells me that I must commit my changes to the m3pi library first.
When I commit the changes made to the m3pi library, it is only committed within my workspace, right? (Just looking for a little confirmation here.) If this is correct, is there an easy way to import my new version of the m3pi library into any new programs for my robot?
Thanks, Keith
1 Answer
11 years, 7 months ago.
If you commit it it is only comitted for you (otherwise you could damage someone elses library). If you want to reuse it in other programs you have to publish it. You can either make a fork for everyone, or if it is only useful for yourself you can publish it unlisted. It is still public then, but only people with the link can find it.