refs/merge-requests/*/head
return all list of merge request (merged & opened)
is it possible to get id's of opened requests only? without gitlab cli
all merge requests: 1, 2, 3, 4, 5 closed: 1, 2, 3
git terminal command return only: 4, 5
refs/merge-requests/*/head
return all list of merge request (merged & opened)
is it possible to get id's of opened requests only? without gitlab cli
all merge requests: 1, 2, 3, 4, 5 closed: 1, 2, 3
git terminal command return only: 4, 5
I would recommend using the glab
CLI from GitLab instead of relying on Git refspecs alone.
glab mr list
should be close to what you are looking for:
It does not show the status (see issues 1283), but it show MR closed only, or merged only.