best way to develop for stable and development branch


  • Hardware Contributor

    In my actual setup I user Arduino IDE 1.6 and mysensors with the 1.4 API (Mac OSX)

    Now I like to play with the development branch. This should not affect my stable sketches.

    Which is the best way to do this?

    Ideas:

    • cp config-files at startup to set different sketchbook folders
    • install IDE multiple times đź‘Ž
    • change to a more professional IDE

    It would be cool to have all libraries in the project folder and no dependencies between them (as it usual in eclipse or visual studio).

    Any ideas appreciated...
    FotoFieber


  • Admin

    If you use git, all you have to do is
    git checkout master
    or
    git checkout development
    to switch between branches.

    I have a soft folder link from the git project to Documents/Arduino.


  • Hardware Contributor

    If I use github, I can not use the two branches at the same time, isn't it? (Development branch for sketch A and stable branch for sketch B.) I would have to check in and check out between editing sketch A and B? Or do I miss something?


  • Admin

    No, you are right. You cannot work on them simultaneously using the same Arduino IDE.


  • Hardware Contributor

    Found the Eclipse Arduino Plugin

    Libraries are on a project base and you can have multiple open projects.

    Usage is not straight forward but I think I will get used to it.


  • Admin

    Checkout git stash and git merge...


Log in to reply
 

Suggested Topics

  • 1
  • 5
  • 3
  • 2
  • 10
  • 1

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts