Here is my senario. We have a production org, a full data org and a number of dev sandboxes. We do most of the dev work on the dev sandboxes but we also do a lot of basic work directly in production.
What I was hoping to do was to use Welkin to create a local project of production and then add this to Git as the Master. I would then store the sandboxes as branches. I could then periodically pull all the updates that occur in production and merge them with the sandboxes. This would keep the sandboxes up to date during development.
However I do not see how I can add a sandbox as a branch and have Production as the Master. I tried creating a local dev branch of the Master and then change the Salesforce credentials in that project to point to the dev sandbox. I then did a Pull from Salesforce so that it would sync the branch with the sandbox. But this failed, I just get a "Sorry we could not save your changes" message. I thought this may have something to do with changing from Prod to sandbox so I tried the same thing between two sandboxes but I still got the same message. I also tried running Welkin in Admin mode as it mentioned it could be a permissions issue. but this also did not fix it.
So my question is, how do I do this? How do you point one branch to one sandbox and another branch of the same project to a different sandbox and the Master branch to the production org?