GH-ISSUE-LOCK(1)
π gh-issue-lock β like, the whole vibe
okay so bestie, welcome to gh-issue-lock, aka the glow-up where you lock an issue conversation so nobody can keep yelling in the replies. yes, it's exactly as iconic as it sounds π
β¨ SYNOPSIS β¨
gh issue lock {<number> | <url>} [flags]
so you give it either the issue <number> or the full <url>, plus whatever [flags] you're feeling, and it goes and locks that conversation. slay π
π₯ OPTIONS π₯
-r,--reason <string>β the optional reason you tell everyone why you locked the conversation. your choices areoff_topic,resolved,spam, andtoo_heated. pick one, it's giving receipts β¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β this one lets you point at a totally different repository, using the[HOST/]OWNER/REPOformat. main character energy fr π
π EXIT CODES π
0: Successful execution β we ate, no crumbs π1: Error β it's giving oops π2: Command canceled β you changed your mind, valid π«Ά4: Authentication required β log in first, bestie π
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. no cap, always double-check the command's help if you need the full list π
πΈ SEE ALSO πΈ
gh-issue(1)β the whole issue fam, go say hi π
k that's the whole thing! this page is from GitHub CLI v2.102.0, dated Oct 2026, and honestly? iconic of them to ship it. mwah, go lock some issues bestie π¦π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms