gh gist edit 1234 --add notes.md

Category: GitHub CLI

gh gist edit 1234 --add notes.md

Add a file to an existing gist

--add notes.md appends a new file to gist 1234, letting a gist grow from a snippet into a small project. The file content is read from your working directory. Remove files again with --remove.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.