Section: Gists

Create a gist

bash
bash
gh gist create notes.md --public
Explanation

Create a public gist from a file.

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
Create a private gist from stdin
Create a gist from standard input.
OpenIn sheetbashsame section
List gists
List your gists.
OpenIn sheetbashsame section
View a gist
Show a gist.
OpenIn sheetbashsame section
Edit a gist description
Edit a gist.
OpenIn sheetbashsame section
Clone a gist
Clone a gist locally.
OpenIn sheetbashsame section
Rename a gist file
Rename a file within a gist.
OpenIn sheetbashsame section