So basically I am developing a project working with a group of devices that each of them assumes one of 3 different roles.
As I am in the development stage, I am doing a lot of changes to the code and want to sync this change to the relevant devices.
The way I setup this is that I have a git repo with 4 folders one folder for each role (3 total), and one single folder for the shared code (shared libraries and API among the 3 different roles).
the way that I am keeping my code up to date on each device is by first developing on my laptop and then doing a git push every time i want to test the changes, then I am having a run script on each of the devices that pulls the code from GitHub and then runs it.
however, this approach results in so many commits, pushes, and pulls.
is there a better way to do it that I may be missing ?