LGTM meaning

Let’s Gamble Try Merging, as suggested in this Reddit post in r/ProgrammerHumor? Probably not 😅

What most people agree on what LGTM means

LGTM is an acronym primarily used in software development and code reviews, but might be used in other contexts as well, and stands for “Looks Good To Me

Occasionally when reading code reviews we can find comments like these:

declare function nextMDX(options?: NextMDXOptions): WithMDX

LGTM in a code review

LGTM in a code review stands for Looks Good To Me. The Reviewer is Ok with the change and would like to see it on the main branch.

Often this is not only seen under code, but in the summary section of the Pull Request, referring to the entire pull request being fine with the reviewer. And sometimes together with a note.

But why writing this instead of using the ‘approve’ button in the GitHub or Bitbucket UI? Well, in some setups the approval goes away when the author of the change pushes again onto that branch, and the textual note will survive that.

In the end, when everything is ready, someone has to give approval via the approve button though.

However, it’s important to note that “LGTM” should not be used as a substitute for a thorough code review. Reviewers should still take the time to carefully examine the code and make sure it meets the necessary standards and requirements before giving their approval.

2 Comments

Leave a Reply