Maybe some of this is too basic, or maybe I have got my workflow completely wrong but I have a few questions about using github.
For the last few versions I have just downloaded zip files from github for addons, and added them into my addons directory.
I decided to start fresh with 0.74 and re-collected my addons from github- with the hope I can pull updates and switch branches of both OF and my addons.
So far so good.
My questions are when addons are made as per the OF addons guidelines can I leave the examples in their folders as they come from github and run them from there to test and learn? If the git’ed addons only contain a src folder and I make a project within the folder, if I update the addon and its src folder will the new files (prject and settings files for xcode) remain intact?
If I switch to the dev branch of OF will all my addons remain intact?
Is there a way to migrate addons to a new version of OF if one is released and I want to keep the old version intact, without downloading them again- as far as I can tell if I change location they are seen as missing- if I again pull the master of an addon from git (using the git app) I do get 2 copies if my local destination is different but I cannot find a way to tell which is which. Is there a simple way around this?
For addons or libraries that have a different file layout is there a way to tell git to download some parts of the repo to different locations so I can still synchronise or switch branches but end up with the files where I want?
Sorry for all the questions but I am trying to get a clean and flexible version of OF running before I start working with it. I have read through the GIT help but not found direct answers to these questions.