GH-GIST-CLONE(1)
π NAME π
welcome to the GitHub CLI manual, bestie β this one is all about gh-gist-clone(1) β¨
gh-gist-clone β clone a gist locally, no cap π
π SYNOPSIS π
gh gist clone <gist> [<directory>] [-- <gitflags>...]
πΈ DESCRIPTION πΈ
okay so this command clones a GitHub gist locally. literally right onto your machine, slay π«Ά
the <gist> argument can be supplied in either of these formats:
- by ID, e.g.
5b0e0062eb8e9654adad7bb1d81cc75fβ just the ID, iconic and compact π - by URL, e.g.
https://gist.github.com/OWNER/5b0e0062eb8e9654adad7bb1d81cc75fβ the whole URL vibe π
and if you want to pass additional git clone flags? bestie, just list them after -- π
β¨ EXIT CODES β¨
0: Successful execution β we love a happy ending π1: Error β something went sideways π2: Command canceled β it said βnot todayβ π4: Authentication required β login check said bestie, who are you? π
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
π¦ SEE ALSO π¦
gh-gist(1)β the main gist page, go peek π
made with main character energy by GitHub CLI v2.102.0, dated Oct 2026 β page GH-GIST-CLONE(1), periodt πβ¨π«Ά
π¦ 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