Reputation: 8141
In GitLab Documentation described a nice way to fetch merge requests from gitlab remote. (i guess others work near to this).
How is it possible fetch only requests not merged yet? (Fetch only opened merge requests).
Upvotes: 1
Views: 762
Reputation: 3346
I have searched for a way to get only opened MRs too, that is what i came up with:
Therefore i will offer you to write shell snippet (optionally place this script in .gitconfig
or add to git hooks), that will do the following:
.git/config
) all MR branches from this list.This approach can be used as a more dynamic alias than in the Gitlab Docs link you mentioned.
Upvotes: 2