cancel
Showing results for 
Search instead for 
Did you mean: 

How to use GIT branching while using STM32cubeIDE?

CDyer.1
Senior

Hi all,

I have a project that has been developed within STM32CubeIDE. I also have a github repository associated with the project. What I now want to do is branch the project to work on some other features. I may want to have two separate projects in  the future, one with the original features and one with the new features. I may also want to simply merge the branch at a later date and have only the project with the new features added. How can I do this while working within STM32CubeIDE? Obviously CubeIDE doesn't know that I've started a new branch, so any changes I make will be made to the same project within CubeIDE. Do I need to make a separate project within CubeIDE? How can I associate that with the new branch? I could simply copy the project within CubeIDE and make a new repository for the new project, but I'd like to keep everything within the same repository and just branch - the git intended. Any help with this would be great.

10 REPLIES 10
Radosław
Senior II

If You whant to have 2 copy o same git repo to work with just  create TWO workspeces.