GH-GIST-EDIT(1) GitHub CLI manual GH-GIST-EDIT(1) (NAME) gh-gist-edit - (SYNOPSIS) gh gist edit { | } [] [flags] (OPTIONS) -a, --add -d, --desc -f, --filename -r, --remove (EXIT CODES) 0: 1: 2: 4: : . . (EXAMPLE) # $ gh gist edit # $ gh gist edit 1234567890abcdef1234567890abcdef # $ gh gist edit 1234567890abcdef1234567890abcdef --filename hello.py # $ gh gist edit 1234567890abcdef1234567890abcdef --filename hello.py hello.py # $ gh gist edit 1234567890abcdef1234567890abcdef --add newfile.py # $ gh gist edit 1234567890abcdef1234567890abcdef --desc "new description" # $ gh gist edit 1234567890abcdef1234567890abcdef --remove hello.py (SEE ALSO) gh-gist(1) Sep 2026 GH-GIST-EDIT(1)