There is a point in the Git Flow model that I don't quite get.
Once work has been done on a certain feature branch feature/foo
, and it is merged on develop
, and feature/foo
has been deleted, there is no further trace that the commits were done inside the feature/foo
branch (see this question).
Sometimes, however, it can be useful to keep track of this information, notably for traceability. Imagine that a branch was created following the opening of a ticket on an issue tracker. I would like to be able to see, preferably with git log
, what work was done on this branch, even after it was deleted.
Essentially, I am asking if it possible to obtain with git log
the same kind of information that one can find on the closed issues page on a source-code sharing website, such as Github.
It seems to me that without prefixing each commit message (either manually, or through a hook) by the name of the feature branch, there is no easy way.