Create a gist from standard input.
Section: Gists
Create a private gist from stdin
bash
bash
printf "hello\n" | gh gist create -f hello.txtExplanation
Create a gist from standard input.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Gists