-
Notifications
You must be signed in to change notification settings - Fork 97
Finishing a feature always ends up in having to use force-mode #83
Comments
I ended up doing this again: |
More data :) No force:
And with force:
Luke Skywalker would be happy - use the force |
+1 |
We're not using |
Any resolution to this? Does using |
Hm I think the missing step (which the blog post I read on the workflow is not clear about: http://dev.datasift.com/blog/hubflow-github-and-gitflow-model-together ) is that the PR must be merged (via clicking merge on github) before |
That's correct. A PR should be merged before git hf feature finish |
Thanks for clarifying. Do you think the (Sorry for the naive questions, I'm still evaluating hubflow before adopting it, but it looks very promising!) |
(I'd also suggest closing this ticket since it's not an actual issue, though it might be a documentation issue instead) |
You could definitely automate this with Jenkins. If that's the correct decision is down to your specific workflow. Personally I wouldn't, but I can see the advantages |
What's the use case for clicking to merge a PR, but not immediately running |
Running |
Ah! I see, thanks! Looking more closely at the source, I'm more worried about leaving |
Again, you can do it if you feel it's the correct fit, but for us a developer being told their hotfix is merged is a trigger for them to schedule a release window with the operations team |
That's a good point. Maybe it's just specifically the back-merging that should be automated, since drift between |
I still get this even when the PR is merged. the only difference is , the reviewer approved it, I then use "Squash Merge" button to merge the PR. Go to my local machine and try git hf feature finish , it still says open a PR first and get it merged. |
Having the same issue here with "Squash and Merge" option from GitHub. |
Always when we try to finish a feature we end up in these two lines:
https://github.com/proteste/hubflow/blob/master/git-hf-feature#L366-L367
The only option is to force, which closes the PR, merges the stuff locally but does not seem to set the "merge state" of the PR to done...
Steps to reproduce:
The text was updated successfully, but these errors were encountered: