News for hackers. Stuff that matters.
Re:Ask HN: What's your Git workflow like at work? What could... by quickthrower2 on Saturday February 10, 2024 @09:42PM (#39332251)
Small branches off the master. Feature flags so that branches can stay small. Release branch off master for a stabilized branch for a release that QA can test.

I can’t think of a better way for teams as they can agree on Github etc. and sync up in real time. If there is little command structure and time overlap the mailing list way probably works better although Github is popular so…

Re:Ask HN: What's your Git workflow like at work? What could... by ipaddr on Saturday February 10, 2024 @10:08PM (#39332348)
I use that method for hotfixes.

I usually pull from staging include a number of changes from various branches merged into staging or things directly committed to the staging branch. Test everything and push a release, inform stakeholders, etc.

Any change to production will merge back to staging so everything stays in sync.