How does your Git Flow?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
diamondsea's picture

We've been having workflow discussions at work.

We've been using the Gitflow model, but have been having discussions about eliminating all the branching overhead and having everybody commit directly to develop.

How do you all manage your workflow with multiple people using a repo, and how do you do your pushes to dev/test/stage/prod?

Curious to see how others in the area are doing it...

Comments

Version version version control, how I love theeeeee

wanflap's picture

This would be a great meetup topic. We're using a couple of different flows depending on the client. We do use branches and release branches. Acquia is big on release branches and tags. One of our biggest issues is when two different developers modify the same file and commit it to their own branches then when they push to the release branch we get conflicts.
Some things I've learned:
- Always push forward, never push backward.
- Devs never touch master, they should not even see it.
- Tag often. Tags save your a**

If devs are merging Develop

diamondsea's picture

If devs are merging Develop into their branches before committing, you can avoid the conflicts on merge.

What do you mean by "Always push forward, never push backward." ?

Maryland

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week