glab mr note draft delete
Delete one of your pending review comments from a merge request. (EXPERIMENTAL)
Synopsis
Discard a pending review comment before you publish the review. <draft-note-id> is the ID printed by glab mr note draft create or listed by glab mr note draft list.
Deletion is permanent and cannot be undone. Unless you pass --yes, the command shows the comment and prompts you to confirm. When not running interactively, --yes is required.
This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.
glab mr note draft delete [<id> | <branch>] <draft-note-id> [flags]Examples
# Delete pending review comment 456 from merge request 123
glab mr note draft delete 123 456
# Delete a pending review comment on the current branch's merge request
glab mr note draft delete 456
# Delete without confirmation
glab mr note draft delete 123 456 --yes
Options
-y, --yes Skip confirmation prompt.Options inherited from parent commands
-h, --help Show help for this command.
-R, --repo string Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.Was this page helpful?