gh-gist-rename(1)

gh-gist-rename1

Rename a file in a gist

Usage

gh gist rename {<id> | <url>} <old-filename> <new-filename> [flags]

Overview

Rename a file in the given gist ID / URL.

Exit status

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From github-cli 2.103.3-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.