How to handle GitFlow and Subtasks

As a user of JIRA and GitFlow, I am having some problems that I would like to know how to solve.

With Jira you can solve several problems ( https://confluence.atlassian.com/display/JIRA/What+is+an+Issue ).

If you need to execute:

  • LinealTask , easy to learn that you have to create a new function using GitFlow. And when you are done with this, complete the function .
  • The task , the task is usually something "big" in terms of complexity and time. In order to better manage and optimize resources, it is best to break the task into sub-tasks ( https://confluence.atlassian.com/display/JIRA/Creating+a+Sub-Task ). However, what I do at ATM creates a new feature for each subtask . And as soon as I finish the subtask , I will finish the function . However, I am sure this is wrong. The function must be finished when something is “completely” finished. And the subtask is just part of Feature. Also note that when the function completed, it merges with the main branch.

So my question is what I talked about earlier.

How to use git -flow for subtasks? Is there a way to create a function with additional functions?

Please note that I use SourceTree to handle all changes and modifications to the branches.

I thought about creating a new branch for each task, and then for this branch, but this is not very good, because the branches should be something more global, and not specific to a specific task; "Development", "Master", etc.

Any advice or questions are welcome.

Thanks.

+4
source share
1 answer

JIRA uses git -flow, derived from git -flow nvie, which does not support the creation of functions from branches other than development.

JIRA git -flow AVH Edition, .

: git -flow AVH Edition.

+6

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


All Articles