gh gist rename GIST_ID old.txt new.sh

Category: GitHub CLI

gh gist rename GIST_ID old.txt new.sh

Rename a file within a Gist

Renames a file within a Gist from old.txt to new.sh.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.