Fetch all comments/discussions from the current GitLab Merge Request.
- Determine the current branch:
git branch --show-current - Get the GitLab project path from the git remote:
git remote get-url origin, then extract the project path (remove .git suffix and host prefix) - URL-encode the project path (replace
/with%2F) - Find the open MR for the current branch using: