This is my first post, and I will try to give as much detail as possible. Just let me know what information you need to help me make my question more specific.
My current setup is as follows:
- Remote git repository on BitBucket (https://bitbucket.org/)
- Project source code on my laptop
I have git setup for my project and can commit locally as well as push changes to the remote repo. I can clone a duplicate of my project to my laptop in the same folder and it works fine.
The problem I am running into is that I now have an iMac that I would like to use for development, and when I clone my project from BitBucket, I can access all of my source code but lose access to the third party libraries (in this case Three20).
I have tried to re-link the libraries on the desktop but I can’t get it to properly link and build.
What is the best way to sync the source code of my projects between my two computers and still be able to use the external libraries on each one?
Take a look at chapter 6, section 6 of the progit.org/book. If you include 3rd party libraries as submodules, you don’t bloat your repository while preserving what version of each library you are using.