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:

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