Public
Authored by baranga

Configure git-flow (avh) for gitlab

See here: https://baranga.de/blog/2017/06/23/git-flow-for-gitlab-projects.html

git-flow (avh) deletes branches on finish automatically by default. This includes remote branches. Gitlab will mark a Merge Request as closed if its merged into target branch but only if source branch keeps intact. So if you close a feature locally via git flow feature finish xyz gitlab will be confused.

To prevent that git-flow finish commands support --keepremote. It's possible to switch that permanently on via git config --add gitflow.<type>.finish.keepremote true.

This is just a short script doing this for feature, hotfix and release.

Edited
git-configure-giflow-for-gitlab.sh 179 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment