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
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