git - 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!
解决方案
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.
推荐阅读
- python - 使用 mpmath 和 sympy 模块时因指数函数而出错
- django - 写入错误数据后,Django 模型字段重新对齐
- optaplanner - Optaplanner:如何避免连续两天同班?
- c# - asp-action 和 Html.ActionLink 在 asp.net core mvc 中不起作用
- go - 可以从 ast 反映一个结构
- javascript - 使用来自外部 JSON 的 JQuery 的自动完成表单字段不起作用
- node.js - Apache2 中的 Proxyreverse 与 wordpress
- angular - Angularfire 依赖注入 - TS2339 属性 firestore 在 Cartservice 类型上不存在
- react-native - Web 视图未在 React Native 中加载?
- android - Kotlin SQLite “(代码 1 SQLITE_ERROR):,编译时:INSERT INTO”