We recently started using this gitflow workflow at my work. This week
during an emergency one of my coworkers made a couple commits directly
into master. What is the best or recommended way to get those changes
into develop -- just merge master into develop?
On a broader philosophical note, I don't fully understand why merging
master directly into develop isn't included in the regular workflow
(perhaps as part of the phase when you merge a release branch).
Since this link does not work directly any more, here's the liked
comment (by Rubén Laguna) for the record:
> I started to use this model but then I found that git-describe will not work as I expected on the
> development branch as the tags are only in the master. In order to have a meaningful git-describe
> on develop what would be the best approach:
>
> 1. create the 1.2 tag in branch release-1.2 instead so when this branch is merged both to master
> and develop it will be "inherited" by both of them.
> 2. merge master into develop after creating the tag
> 3. create a dev1.2 tag in branch release-1.2 and a 1.2 in master
>
> Thanks in advance for your help