The MergeBell blog

GitLab guides

Straight answers to the questions GitLab users ask most — reviewing and merging from a phone, pipelines, the To-Do List, tokens and notifications. Every guide links to GitLab’s own documentation for the details, and says when it was last checked.

GitLab on iPhone and Android

Which GitLab apps exist, what each one does, and how to review from a phone.

  1. The best GitLab apps for Android and iPhone in 2026: 15 compared

    15 GitLab apps for Android and iPhone, checked in October 2026: what each can do, what it costs, and which to pick for push alerts, review or pipelines.

    Updated · 9 min read

  2. GitLab app for iPhone: MergeBell is now on the App Store

    MergeBell, a native GitLab app for iPhone, is on the App Store: To-Do inbox, diffs, approve and merge, pipelines, push alerts, widgets and a Live Activity.

    Updated · 5 min read

  3. GitLab app for Android: MergeBell on Google Play

    MergeBell is a native GitLab app for Android 12 and later on Google Play: To-Do inbox, diffs, approve and merge, pipelines, push alerts and widgets.

    Updated · 5 min read

  4. GitLab app for iPhone and Android: MergeBell on both stores

    MergeBell is on the App Store and Google Play. What's the same on iPhone and Android, what differs, what Pro costs in each store, and how to switch phones.

    Updated · 4 min read

  5. Does GitLab have a mobile app? The 2026 answer

    No — GitLab Inc. has no official Android or iPhone app. What works on a phone instead: the mobile site, email, Slack, AI assistants and third-party apps.

    Updated · 5 min read

  6. Is there a GitHub Mobile for GitLab? The closest options in 2026

    GitHub has GitHub Mobile; GitLab has no official app. What GitHub Mobile does, and the GitLab apps and features that come closest on Android and iPhone.

    Updated · 3 min read

  7. Using self-managed GitLab on your phone: VPNs, certificates and tokens

    How to connect a phone to your company's self-managed GitLab: network access and VPNs, private certificates on iPhone and Android, tokens, versions and alerts.

    Updated · 3 min read

  8. How to review a GitLab merge request on your phone

    A step-by-step way to review, comment on, approve and merge a GitLab merge request from a phone — in the browser or an app — without missing anything.

    Updated · 3 min read

Merge requests and code review

Reviewers, approvals, threads and suggestions, and what blocks a merge.

  1. Why can't I merge my GitLab merge request? Every blocking reason

    Every reason GitLab blocks a merge, from "Merge request must not be draft" to "Ready to merge by members who can write to the target branch", and each fix.

    Updated · 5 min read

  2. GitLab assignee vs reviewer: who does what, and how to request a review

    The assignee owns a GitLab merge request and gets it merged; reviewers check the code and approve or request changes. How to request and re-request a review.

    Updated · 3 min read

  3. GitLab draft merge requests: how to mark as draft or ready

    "Merge request must not be draft." means it's still a draft: select Mark as ready, drop the Draft: prefix or comment /ready. And how to mark one as draft.

    Updated · 3 min read

  4. Can you approve your own GitLab merge request? Approval rules explained

    Who can approve a GitLab merge request, whether authors can approve their own, and how approval rules, Code Owners and new-commit settings work in 2026.

    Updated · 4 min read

  5. Open threads must be resolved: how to resolve GitLab merge request threads

    Why GitLab blocks a merge until threads are resolved, how to resolve or reopen them, find the open ones, move them to an issue, and turn the check on or off.

    Updated · 3 min read

  6. GitLab suggested changes: how to suggest, batch and apply code suggestions

    Suggest a change in a GitLab merge request: Insert suggestion, multi-line suggestions, Add suggestion to batch, the commit message and who can apply them.

    Updated · 3 min read

  7. GitLab merge request changes not shown: collapsed and too-large diffs

    Why GitLab collapses or hides a merge request file's changes: the diff size limits on GitLab.com and Self-Managed, generated files, and how to see every change.

    Updated · 4 min read

  8. How do you resolve merge conflicts in GitLab? Four ways, step by step

    Resolve a GitLab merge request's conflicts in the browser with Use ours or Use theirs, the inline editor, GitLab Duo, or Git on the command line.

    Updated · 5 min read

  9. How to rebase a GitLab merge request, and when you have to

    Rebase a GitLab merge request with the Rebase button, /rebase, glab or the API, or locally with --force-with-lease, and why GitLab asks you to.

    Updated · 4 min read

  10. How to squash commits in a GitLab merge request (and when not to)

    Squash and merge in GitLab: the Squash commits checkbox, the project's four squash settings, the squash commit message, and squashing from the CLI or API.

    Updated · 3 min read

  11. What happened to Merge when pipeline succeeds? GitLab auto-merge explained

    GitLab's Merge when pipeline succeeds is now auto-merge. How Set to auto-merge works, what it waits for, what cancels it, and how to set it from the CLI or API.

    Updated · 4 min read

  12. GitLab merge trains: how they work, and why a merge request leaves the train

    How GitLab merge trains queue merge requests and test them together: turning them on, adding or removing one, merging immediately, and why one gets dropped.

    Updated · 5 min read

  13. How to cherry-pick a GitLab merge request into another branch

    Cherry-pick a GitLab merge request into another branch, and fix "cherry-pick failed: Can't perform this action automatically" with git cherry-pick -x and -m 1.

    Updated · 4 min read

  14. How to revert a merge request in GitLab, and how to undo the revert

    Revert a merged GitLab merge request from the UI, the command line or the API, why the Revert button can be missing, and how to bring the changes back.

    Updated · 4 min read

  15. GitLab CODEOWNERS explained: syntax, sections and required approvals

    How GitLab's CODEOWNERS file works: where it goes, path patterns, owners, sections, optional sections, multiple approvals, exclusions and required approval.

    Updated · 4 min read

  16. How to create a GitLab merge request from the command line

    Create a GitLab merge request from your terminal with git push options or glab mr create: target branch, title, draft, labels, reviewers and auto-merge.

    Updated · 3 min read

  17. Can Claude or ChatGPT review a GitLab merge request? AI review in 2026

    Three ways to get an AI code review on a GitLab merge request: GitLab Duo's Code Review Flow, Codex with @codex review, and Claude Code in GitLab CI/CD.

    Updated · 5 min read

CI/CD pipelines

Failed, stuck and skipped pipelines, and the .gitlab-ci.yml errors behind them.

  1. How to retry a failed GitLab pipeline (and when not to)

    Retry a failed job or a whole GitLab pipeline, run a manual job, read the job log first, and stop retrying flaky jobs by hand with the retry keyword.

    Updated · 3 min read

  2. How to cancel a GitLab pipeline, and auto-cancel redundant ones

    Cancel a GitLab pipeline or job from the UI, glab or the API, force-cancel a job stuck in canceling, and auto-cancel outdated pipelines with interruptible.

    Updated · 4 min read

  3. How to run a manual job in GitLab CI/CD, and why the pipeline is blocked

    GitLab manual jobs explained: when: manual, optional vs blocking jobs, the blocked status, running a job with variables, confirmations and who can run one.

    Updated · 3 min read

  4. GitLab "The deployment job is older than the latest deployment": what to do

    Why a GitLab deploy job fails as "outdated": the Prevent outdated deployment jobs setting, manual deploys you can't run, rollbacks, and deploy order.

    Updated · 3 min read

  5. GitLab job stuck in pending? Why it happens and how to fix it

    Why a GitLab CI/CD job stays pending or says 'This job is stuck': runners offline, tags that don't match, protected runners, resource groups, and the fixes.

    Updated · 5 min read

  6. Register a GitLab Runner: glrt- tokens, "410 Gone" and other errors

    Register a GitLab Runner with a glrt- token, and fix "410 Gone - runner registration disallowed", 403 Forbidden and "Failed to verify the runner".

    Updated · 5 min read

  7. GitLab Runner "prepare environment: exit status 1": shell profile fixes

    Why GitLab jobs fail with "prepare environment: exit status 1" before the script runs: .bash_logout, other profile files, SELinux, pwsh on Windows, Kubernetes.

    Updated · 3 min read

  8. GitLab CI compute minutes used up: "No more compute minutes available"

    Why GitLab.com jobs fail with "No more compute minutes available": the 400-minute Free quota, cost factors, checking usage, and keeping pipelines running.

    Updated · 4 min read

  9. GitLab CI job timeout: "execution took longer than" and how to raise it

    Fix "Job failed: execution took longer than 1h0m0s seconds" in GitLab CI: the project, job and runner timeouts, GitLab.com's 3-hour cap, and script timeouts.

    Updated · 3 min read

  10. GitLab CI "ERROR: Job failed: exit code 1": find the command that failed

    Why a GitLab CI job fails with "exit code 1": finding the command that failed, how the runner's shell stops on errors, grep and && traps, and fixes.

    Updated · 4 min read

  11. GitLab CI "./gradlew: Permission denied" and exit code 126: fix the script

    Why a GitLab CI job fails with "./gradlew: Permission denied" and exit code 126: the file isn't executable in Git. Commit the bit, or run it with sh.

    Updated · 2 min read

  12. GitLab CI "exit code 137": the job ran out of memory, and how to fix it

    Why a GitLab CI job fails with "exit code 137": a kill, usually for running out of memory. GitLab.com runner memory, Docker and Kubernetes limits, and fixes.

    Updated · 3 min read

  13. GitLab CI "Job's log exceeded limit of 4194304 bytes": how to fix it

    Why a GitLab CI job log stops with "Job's log exceeded limit of 4194304 bytes": the runner's 4 MB output_limit, GitLab's 100 MB limit, and fixes.

    Updated · 3 min read

  14. GitLab CI "no space left on device": free up runner disk space

    Why GitLab CI jobs fail with "no space left on device": hosted runner disk sizes, Docker images and volumes on your runners, shell runner builds, and fixes.

    Updated · 3 min read

  15. GitLab scheduled pipeline not running: inactive schedules and other causes

    Why a GitLab pipeline schedule doesn't run: an inactive schedule, the owner's access, workflow rules, a deleted or protected branch, run limits and time zones.

    Updated · 4 min read

  16. GitLab CI "configuration is invalid": the common errors and fixes

    The .gitlab-ci.yml errors behind "This GitLab CI configuration is invalid" in GitLab 19.5: unknown keys, script colons, stages, needs, rules, includes, YAML.

    Updated · 5 min read

  17. GitLab "Pipeline will not run for the selected trigger": fix the rules

    Why GitLab says "Pipeline will not run for the selected trigger", or since 17.3 "The resulting pipeline would have been empty", and how to fix the rules.

    Updated · 3 min read

  18. GitLab merge request pipelines: detached, merged results, and duplicates

    What a GitLab merge request pipeline is, why it was called detached, how it differs from merged results, how to turn it on, and how to stop duplicate pipelines.

    Updated · 7 min read

  19. How to skip a GitLab CI pipeline: [skip ci], ci.skip and workflow rules

    Skip a GitLab pipeline with [skip ci] in a commit message or merge request title, git push -o ci.skip, or workflow:rules, and see what still runs.

    Updated · 4 min read

  20. GitLab CI rules:changes not working: why jobs always run, or never do

    Why a GitLab CI job with rules:changes runs every time or never: new branches, schedules, paths that don't match, compare_to, and the regexp option.

    Updated · 4 min read

  21. GitLab CI allow_failure: let a job fail without failing the pipeline

    What allow_failure does in GitLab CI: passed with warnings, the defaults for manual jobs, exit_codes, rules, needs, and what it means for merging.

    Updated · 3 min read

  22. GitLab CI/CD variable empty or can't be masked: causes and fixes

    Why a GitLab CI/CD variable is empty in a job: protected branches, environment scope, forks, after_script, file variables, precedence and masking rules.

    Updated · 5 min read

  23. GitLab CI artifacts: no matching files, expired artifacts, and fixes

    Why GitLab CI artifacts go missing: no matching files, uploads only on success, expired artifacts, dependencies and needs, size limits, and how to download.

    Updated · 4 min read

  24. GitLab CI cache not working: "Failed to extract cache" and fixes

    Why a GitLab CI cache isn't restored or saved: cache keys, protected branch suffixes, runners without a shared cache, failed jobs and paths outside the project.

    Updated · 4 min read

  25. GitLab CI shallow clone errors: GIT_DEPTH, git describe and missing origin/main

    Why GitLab CI jobs fail with "No names found", an origin/main "unknown revision" or "no merge base": the 20-commit shallow clone, and GIT_DEPTH fixes.

    Updated · 4 min read

  26. GitLab CI "fatal: detected dubious ownership in repository": how to fix it

    Why Git says "detected dubious ownership" in GitLab CI jobs: non-root images, Kubernetes user IDs and shell runners, and the safe.directory fixes.

    Updated · 3 min read

  27. GitLab CI "Cannot connect to the Docker daemon": Docker-in-Docker fixes

    Fix "Cannot connect to the Docker daemon at tcp://docker:2375" in GitLab CI: the dind service, DOCKER_HOST and TLS, privileged runners and other daemon errors.

    Updated · 4 min read

  28. GitLab CI "Service probably didn't start properly": causes and fixes

    What GitLab CI's "Service … probably didn't start properly" warning means: the 30-second port check, crashed services, slow starts, and the fixes.

    Updated · 3 min read

  29. GitLab CI "toomanyrequests": Docker Hub rate limits and the dependency proxy

    Why GitLab CI jobs fail with "toomanyrequests: You have reached your pull rate limit": Docker Hub's limits, the dependency proxy, logging in, and mirrors.

    Updated · 5 min read

  30. GitLab Runner "x509: certificate signed by unknown authority": custom CA fixes

    Why GitLab Runner fails with "x509: certificate signed by unknown authority" or "unable to get local issuer certificate", and how to trust a custom CA.

    Updated · 4 min read

  31. GitLab CI "exec format error": ARM and x86 image mismatches

    Why a GitLab CI job fails with "exec /bin/sh: exec format error": an image built for another CPU, such as arm64 from a Mac on an amd64 runner, and the fixes.

    Updated · 3 min read

  32. GitLab Pages not working: 404s, a failing pages:deploy job and broken CSS

    Why a GitLab Pages site shows 404 or won't deploy: the Pages job, public folder and pages.publish, index.html, unique domains, access control and base paths.

    Updated · 3 min read

Writing .gitlab-ci.yml

Ordering jobs, reusing config, passing files, secrets and cloud logins, and what GitLab 20.0 changes.

  1. How do I use needs in GitLab CI to run jobs out of stage order?

    Use GitLab CI needs to start jobs as soon as their dependencies finish: syntax, needs: [], optional needs, artifacts, the 50-job limit and the common error.

    Updated · 5 min read

  2. How do you pass artifacts between jobs in GitLab CI?

    Pass files from one GitLab CI job to the next with artifacts:paths, stages, dependencies and needs, plus artifacts from other pipelines and projects.

    Updated · 6 min read

  3. How do I reuse GitLab CI config with extends, YAML anchors or !reference?

    Reuse GitLab CI/CD configuration without copy-paste: extends, YAML anchors and !reference tags, how each merges, and which works across included files.

    Updated · 5 min read

  4. How do I include CI/CD config from another GitLab project?

    Share GitLab CI/CD config across projects with include:project, file and ref: syntax, permissions, pinning a ref, overrides, and the common include errors.

    Updated · 5 min read

  5. How do I create and use a GitLab CI/CD component?

    Build a GitLab CI/CD component: the templates/ layout, spec:inputs, include:component syntax, versions and ~latest, publishing to the CI/CD Catalog, and fixes.

    Updated · 5 min read

  6. How do I use parallel:matrix in GitLab CI?

    Run one GitLab CI job across several values with parallel:matrix: syntax, job names, limits, rules, needs, dependencies, tags and matrix expressions.

    Updated · 5 min read

  7. How do I trigger a pipeline in another GitLab project from CI?

    Trigger a downstream GitLab pipeline: trigger:project for another project, trigger:include for child pipelines, strategy: mirror, variables and the errors.

    Updated · 5 min read

  8. How do I use GitLab Secrets Manager in a CI/CD job?

    GitLab Secrets Manager went GA in GitLab 19.5. Enable it, define a secret, read it in a job with secrets:gitlab_secrets_manager, and fix the common errors.

    Updated · 6 min read

  9. How do I use OIDC ID tokens in GitLab CI to authenticate with AWS?

    Use id_tokens in a GitLab CI job to assume an AWS role with no stored keys: the IAM provider, the trust policy, the job YAML, and fixes for AccessDenied.

    Updated · 6 min read

  10. How do I disable Auto DevOps in GitLab, and why did it run?

    GitLab ran a pipeline with no .gitlab-ci.yml? That's Auto DevOps. Turn it off per project, group or instance, skip single jobs, or turn off CI/CD.

    Updated · 5 min read

  11. How do I replace stuck_or_timeout_failure in GitLab retry:when before 20.0?

    stuck_or_timeout_failure and job_execution_timeout are deprecated in GitLab retry:when and removed in 20.0. The new failure reasons and the YAML to use.

    Updated · 4 min read

  12. How do I migrate GitLab compliance pipelines before GitLab 20.0?

    GitLab compliance pipelines are removed in 20.0. How to migrate to pipeline execution policies, pick a strategy, and fix "Job names must be unique".

    Updated · 5 min read

  13. What changed in GitLab 19.6 for merge requests and CI/CD?

    GitLab 19.6 (19 Nov 2026): Rapid Diffs replace the classic diff view, merge time windows, pipeline variable limits and GitLab Runner 19.6 changes.

    Updated · 5 min read

Git access, tokens and branches

Why Git or GitLab turns you away, and the tokens and keys that fix it.

  1. Why GitLab says you're not allowed to push to a protected branch, and the fix

    What GitLab's protected-branch errors mean, who can push or merge to the default branch by default, and how to fix it: a merge request or a branch rule.

    Updated · 5 min read

  2. Git push to GitLab rejected (fetch first): causes and fixes

    Fix "! [rejected] main -> main (fetch first)" or "non-fast-forward" when you push to GitLab: a new project's README, git pull --rebase, and force pushes.

    Updated · 4 min read

  3. Why does git push to GitLab fail with "RPC failed" or "remote end hung up"?

    Fix "RPC failed; curl 92", "Broken pipe" and "the remote end hung up unexpectedly" on git push to GitLab: push size limits, HTTP/1.1, SSH keepalive, LFS.

    Updated · 5 min read

  4. GitLab "pre-receive hook declined": why your push was rejected

    Why GitLab rejects a push with "pre-receive hook declined": protected branches, the 100 MiB file limit, secret push protection, push rules, Git LFS and size.

    Updated · 5 min read

  5. GitLab "HTTP Basic: Access denied": why Git rejects you, and how to fix it

    Why git clone, pull or push fails with HTTP Basic: Access denied on GitLab: passwords that need a token, expired tokens, scopes and saved credentials.

    Updated · 6 min read

  6. Lost your GitLab 2FA device? How to get back into your account

    Locked out of GitLab by two-factor authentication? Recovery codes, new codes over SSH, other factors, who can reset 2FA, and GitLab.com's email codes.

    Updated · 3 min read

  7. GitLab SSH "Permission denied (publickey)": causes and fixes

    Why git clone, pull or push over SSH fails with Permission denied (publickey) on GitLab: missing, wrong, expired or signing-only keys, ssh-agent and port 22.

    Updated · 5 min read

  8. GitLab token scopes explained: api vs read_api, and fine-grained tokens

    Which GitLab token scope a tool really needs, how long tokens last, what fine-grained tokens change in 2026, and how to give a mobile app safe access.

    Updated · 4 min read

  9. GitLab token expired? How to rotate a personal access token in 2026

    When GitLab tokens expire, the 60, 30 and 7-day emails, rotating in the UI or API and its one-week default, self-rotation, and what to do once it's expired.

    Updated · 5 min read

  10. GitLab deploy key vs deploy token vs project access token: which to use

    GitLab deploy keys, deploy tokens and project access tokens compared: SSH or HTTPS, pushing code, registries, the API, expiry, plans, and which to pick.

    Updated · 4 min read

  11. GitLab CI_JOB_TOKEN: access another project, and fix "not found"

    Use CI_JOB_TOKEN to clone another GitLab project, use its packages or artifacts, or call the API, and fix the 404 and "could not be found" errors in CI jobs.

    Updated · 4 min read

  12. GitLab container registry "denied: requested access to the resource is denied"

    Fix "denied: requested access to the resource is denied" in the GitLab container registry: the image name, docker login, roles, token scopes and CI jobs.

    Updated · 5 min read

Notifications, To-Dos and integrations

Getting the right alerts, and connecting GitLab to Slack, Claude and ChatGPT.

  1. GitLab To-Do List explained: what creates a to-do, and how to clear it

    What adds an item to your GitLab To-Do List, what marks it done on its own, and how to snooze, bulk-edit and keep it at zero — updated for GitLab 19.5.

    Updated · 3 min read

  2. How to find every GitLab merge request waiting for your review

    Find the GitLab merge requests that need your review: the merge request homepage, the Reviewer filter, your To-Do List, email, glab and the API.

    Updated · 3 min read

  3. How to get GitLab push notifications on your phone

    GitLab only notifies by email. The real ways to get push notifications for review requests, mentions and failed pipelines on Android and iPhone.

    Updated · 4 min read

  4. How to stop GitLab email notifications without missing a review

    Turn down GitLab's email: notification levels, group and project settings, muting one merge request, pipeline emails and a full opt-out, explained.

    Updated · 4 min read

  5. GitLab Slack notifications: send merge request and pipeline events to Slack

    Set up the GitLab for Slack app to post merge requests, pipelines and pushes to Slack channels, what it can't send, and how to get your own review requests.

    Updated · 4 min read

  6. GitLab webhook not working: "Temporarily disabled", blocked URLs and fixes

    Why a GitLab webhook stops firing: Temporarily disabled after 4 failures, the 10-second timeout, "Requests to the local network are not allowed", and more.

    Updated · 3 min read

  7. How to connect Claude or ChatGPT to GitLab (GitLab MCP server)

    Connect Claude, Claude Code, ChatGPT or Codex to GitLab with GitLab's MCP server, GA since 19.5: which plans work, how sign-in works, and what to watch for.

    Updated · 4 min read

Do this from your phone with MergeBell

Free for the whole review loop: the To-Do inbox, diffs and line comments, approve and merge, pipelines with retry, and push alerts for your To-Dos. Works with gitlab.com and self-managed GitLab 16.0+.

Get MergeBell for iPhoneGet MergeBell for Android

On the App Store for iOS 26 or later and on Google Play for Android 12 or later. An independent app, not affiliated with GitLab Inc.