Skip to content
IonWarpTry for free
LGTM meaning

LGTM meaning: “looks good to me” in code review

LGTM means "looks good to me". It is what a code reviewer says when approving a change.[1]

In chat it means the same: you read it and agree. On GitHub an LGTM is only a comment; the approval that counts toward a branch's required reviews is the Approve review.[2]

What an LGTM does in each review tool

  • Google

    LGTM is "what a code reviewer says when approving a CL", Google's word for one self-contained change.[1]

  • Gerrit

    The Code-Review label spells it out: +2 is "Looks good to me, approved" and enables submit, +1 is "Looks good to me, but someone else must approve".[3]

  • Chromium

    A Code-Review +1 in Gerrit is also known as an LGTM, and the change needs a positive review from an owner of each directory it touches.[4]

  • Kubernetes

    A reviewer types /lgtm to add the lgtm label and an approver types /approve to add approved; a pull request needs both labels to merge.[5]

  • GitHub

    LGTM is text. Approve is the review state, and a pull request's author cannot approve their own pull request. With required reviews and stale review dismissal on, a new commit that changes code dismisses the approval.[2]

When an LGTM is not a review

  1. LGTM with comments

    Approves the change and leaves small points the author fixes before merging.[6] A nit in those comments is optional.[7]

  2. A rubber stamp

    An approval given without reading the change. A one-minute LGTM on a 2,000-line diff is usually one.

  3. What IonWarp posts instead

    IonWarp never approves a pull request. It posts its findings as one comment on the pull request, and by default a P0 finding sets its GitHub check to Action required. A person still gives the LGTM.

  4. The rest of the shorthand

    PTAL, nit, SGTM, WIP and the rest are in code review terms.

Pricing

Simple pricing for your whole team.

One workspace price with seats included. Credits pool across your team. Unlimited repos on every plan.

Starter

$0 /mo

Try AI PR review.

  • 2 reviewers
    • Code Review
    • Security Review
  • 3 seats included
  • 15,000 credits to start, then 5,000/mo
  • Unlimited repos
Get Started

Max

$149 /mo

Scale AI PR review.

  • +9 reviewers
    • UX Review
    • API Performance
    • Analytics Review
    • SEO Review
    • Changelog
    • CI/CD Performance
    • Plan Review
    • Repeat-Failure Learnings
    • SOC 2 Review
  • 10 seats included
  • +75,000 credits/mo
  • +$29/mo per added seat
  • Unlimited repos
  • Priority support
Choose Max
Enterprise

Custom reviewers + credits · GitHub Enterprise · SSO/SAML + audit logs · Custom security review + SLA

Contact us
FAQ

Frequently asked questions

What does LGTM mean?

Looks good to me. A code reviewer writes it to approve a change; in chat it means you read something and agree.

Is an LGTM comment an approval on GitHub?

No. GitHub counts the Approve review, not the words. A required-reviews rule needs an Approve from someone other than the author.

What does LGTM with nits mean?

The reviewer approves, and leaves a few small, optional suggestions. The author can fix them before merging or skip them.

What is the difference between LGTM and SGTM?

LGTM approves the code. SGTM, sounds good to me, agrees with a plan or an answer in the thread, not with the code itself.

What does /lgtm do on Kubernetes?

It adds the lgtm label to the pull request. An approver's /approve adds the approved label, and the pull request needs both to merge.

Sources

  1. Google Engineering Practices: TerminologyGoogle · read
  2. Approving a pull request with required reviewsGitHub Docs · read
  3. Gerrit Code Review: Review LabelsGerrit · read
  4. Code ReviewsChromium · read
  5. OWNERS filesKubernetes · read
  6. Speed of Code ReviewsGoogle · read
  7. How to write code review commentsGoogle · read