Command
gh gist create file.txtExplanation
Create and manage GitHub Gists for sharing code snippets and notes.
Examples
Create gist from file
gh gist create file.txtCreate public gist
gh gist create --publicList your gists
gh gist listgh gist create file.txtCreate and manage GitHub Gists for sharing code snippets and notes.
Create gist from file
gh gist create file.txtCreate public gist
gh gist create --publicList your gists
gh gist list