Last active
November 2, 2021 11:57
-
-
Save igniteflow/e29d11a4d142207b59c6589e26817139 to your computer and use it in GitHub Desktop.
Useful glab commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prints list of merge request ids only for a given user and target branch | |
glab mr list --assignee <gitlab-user-name> --target-branch <target-branch-name> | awk '{ print $1 }' | sed 's/!//g' | while read line; do glab mr update $line --target-branch <target-branch-name>; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment