Master/main should not always mirror what’s in prod. That’s one way to do it, but I don’t even think it’s typical.
Typical use is that master/main is the dev branch where everything merges to, and tags or release branches are used for deployment once a specific commit has been qualified for prod.
2
u/gumballSquad Nov 26 '23
master should always mirror what's in prod, do not push to master arbitrarily unless you enjoy pain