be possible to sync forms from GIT but specifying a fixed branch instead of default "main/master"
Opened this issue · 1 comments
dariopai commented
at file repo.model.js => ... var command = "git pull --verbose"...
Consider adding some extra parameters or new steps during the clone/pull request so to be able to set the source-branch instead default "main/master". For example it could be:
...
git clone -b dev https://github.com/user/repo.git
... or ...
git clone https://github.com/user/repo.git
git fetch
git checkout dev
git pull origin dev
So with this feature you could use DEV branch for test env, then MAIN/MASTER for prod env
ansibleguy76 commented
That sounds feasible. I'll see to add it in a next release.