gitlab-create-merge-request

Installation
SKILL.md

Create Merge Request

Create a GitLab merge request for the current branch targeting main.

Steps

  1. Get the first commit message of the current branch (compared to main):

    git log main..HEAD --reverse --format="%s" | head -n 1
    
  2. Create the MR using glab:

    glab mr create -t "<FIRST_COMMIT_MESSAGE>" -d "<SUMMARY_OF_WHAT_HAS_BEEN_DONE>" -b main --fill -y
    

Notes

Installs
23
GitHub Stars
2
First Seen
Jan 24, 2026
gitlab-create-merge-request — kentoje/dotfiles