GH-REPO-GITIGNORE(1)
π gh-repo-gitignore β bestie's guide to gitignore templates
okay so this is a page from the GitHub CLI manual (that's the <italic>gh</italic> thing you already have installed, iykyk) β and it's literally all about snooping on the gitignore templates GitHub has ready for you. no cap, it's a little hub page that hands you off to the two commands that actually do stuff. main character energy: it's the parent, the others are the kids. π
πΈ NAME πΈ
gh-repo-gitignore β list and view available repository gitignore templates β¨
that's it. that's the whole job. it lists 'em and it views 'em and it does not pretend to be anything else. obsessed with the focus honestly.
π¦ SYNOPSIS π¦
gh repo gitignore <command> [flags]
see that <command>? yeah β you gotta pick one of the two below, bestie. this page on its own is giving "menu, not the meal". π and the [flags] are whatever flags live on the actual subcommand, so check those individual pages. π
π AVAILABLE COMMANDS π
these are your two icons. click into whichever one you need:
gh-repo-gitignore-list(1)β list available repository gitignore templates. this is the "what have we got" command. window shopping. window licking. πgh-repo-gitignore-view(1)β view an available repository gitignore template. this is the "okay show me the actual contents of that one" command. the full reveal. π
both of them live under the gh repo gitignore umbrella, so you're always typing that whole lil path. no shortcuts, sorry bestie. π
π EXIT CODES π
listen. when a program finishes, it whispers a number to your shell. here's what those numbers mean. pay attention, this is the useful part fr fr:
0β Successful execution. slay. it worked. π1β Error. something went sideways. π2β Command canceled. you (or something) bailed out mid-flight. π«Ά4β Authentication required. go log in, bestie,gh auth loginis right there. π₯
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. β so like, don't @ me iflistorviewhas extra numbers up their sleeve. always check the subcommand's own help. iykyk. π
π§ SEE ALSO π§
gh-repo(1)β the biggergh repomanual, where all the repo-flavored siblings hang out. go say hi. πΈ
and that's the whole page, bestie!! β¨ go forth and gitignore responsibly. no cap, your repo will thank you. π
this lil gem came from the GitHub CLI v2.102.0 manual, dated Oct 2026 β keep that energy, it's iconic. π¦
π¦ 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