GH-RELEASE-UPLOAD(1)
π gh-release-upload(1) β the GitHub CLI manual, bestie edition π
okay so real talk: this is gh-release-upload, one of the gh girlies from the GitHub CLI manual, and she's here to get your files onto a release. let's go β¨
πΈ NAME πΈ
gh-release-upload β upload assets to a release. that's it, that's the job, and she does it gorgeously π«Ά
π¦ SYNOPSIS π¦
gh release upload <tag> <files>... [flags]
β¨ DESCRIPTION β¨
so basically: you point her at a release and some files, and she uploads those asset files to a GitHub Release. main character behavior, honestly π
and here's a cute little trick β if you want an asset to have a display label, you just append some text starting with # after the file name. that's the whole vibe. iykyk π
β οΈ lowkey important: when you're using --clobber, the existing assets get deleted before the new assets are uploaded. so if the upload fails? the original assets will be lost. no cap, gone, fr fr. be careful with that one π
π OPTIONS π
--clobberβ deletes the existing assets with the same name and re-uploads them. ruthless. iconic. just remember the warning above, bestie π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β pick a different repository using the[HOST/]OWNER/REPOformat. so you're not stuck with wherever you happen to be standing π§
β EXIT CODES β
vibe check on how she left things:
0β successful execution, we ate π1β error π2β command canceled π4β authentication required π
π NOTE: specific commands may have additional exit codes. refer to the command's help for more information.
π SEE ALSO π
gh-release(1)β the whole release family, go say hi π
and that's the whole page, bestie β written by the GitHub CLI crew at v2.102.0, dated Oct 2026, and filed under GH-RELEASE-UPLOAD(1) in the manual. slay, go upload something pretty πβ¨
π¦ 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