Do you need to develop a branch directly in Git Flow?

I am currently migrating the project to Git Flow, and I am very grateful for its flexibility.

The problem is that in the following situations, can I work and communicate directly with the development branch?

  • minor typo correction,
  • or a small refactoring of the method level,
  • or fixing some errors after combining a function.

I read the author's post and no mention of this situation. What are you guys doing in the real world?

+6
source share
2 answers

I think it is up to you. What we did in our project is to try and have everything on the branch, and then, when we are going to release, combine what we definitely want in the release to develop. Then we create our development release branch. I say that we did everything on the branch, but for typos and very minor corrections, we are not inclined to create a branch.

+1
source

Completely. The advantage of isolated function branches in a git thread is primarily for the people who requested them. As long as this change to the code that you are sure is in order to go to the next version, it can be done directly in development. You do not want to link your team with too many function branches if you can help it.

+1
source

Source: https://habr.com/ru/post/980513/


All Articles