首页 > 解决方案 > Merging a Merge request from command line in GitLab

问题描述

I'm trying to find a way to merge a merge request in GitLab from the command line.

Does anyone know how this can be achieved instead of merging the same from the GUI interface.

Any pointers are greatly appreciated. Thanks!

标签: gitcommand-linegitlabsubmit

解决方案


You can merge it like any other branch:

git checkout target-branch
git merge feature-branch
git push

The Gitlab UI will then show the merge request as merged.


推荐阅读