gh pr diff --name-only

Category: GitHub CLI

gh pr diff --name-only

List only the filenames changed in the current PR

Lists only the filenames changed in the PR, without showing the diff content.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.