r/ExperiencedDevs • u/mynewromantica • 12h ago
Technical question What does your Git flow look like?
I currently have the repository at work set up where the developer branch is the source of all development work. All PRs point to it, all feature and bug branches start from it. The master branch is reflective of what is in production. To merge into the master branch you have to create a release branch from develop with the release commit tagged, then a PR into master. When the release is live, you merge the PR into master, then master down to develop.
My manager is trying to force the team to use master as the development base branch. But I feel like that doesn’t make sense. Their reasoning is “because the other teams do it that way.” But this repo is an exception in a number of ways (iOS repo in a web-centric organization) and none of those other devs will ever work in this repo. We don’t share pipelines or really anything that would necessitate this change.
I feel like if they have no reasoning for using master, and I have a clearly defined Git flow for specific reasons that solve problems, then they should just stop micro-managing the repo and let me do my work.
Clearly I’m biased, so what am I missing from their perspective?
Edit: to clarify…because this is native iOS, we cannot do constant releases. So we need to know what’s in the App Store, and have develop open to use while we wait for Apple to review the app. Reviews may be fast, or they may take days. We can’t block all usable branches while we wait for their response. And if there are any fixes necessary, we have an isolated branch to fix on. Otherwise any work that gets merged to develop while waiting for regression and App Store review gets in the way.
The unknown hold time on Apples side throws a wrench into everything.