GH-PR-EDIT(1) GitHub CLI manual GH-PR-EDIT(1) (NAME) gh-pr-edit - (SYNOPSIS) gh pr edit [ | | ] [flags] (DESCRIPTION) ( ). . project . gh auth refresh -s project . --attach . . ( ![alt](./login.png)) . . (Alt text) # --attach './login.png#The login error state'. . . . . (URL) . --add-assignee --remove-assignee : - @me: - @copilot: Copilot Copilot ( GitHub Enterprise Server ) --add-reviewer --remove-reviewer : - @copilot: Copilot ( GitHub Enterprise Server ) (OPTIONS) --add-assignee . "@me" "@copilot" Copilot . --add-label --add-project <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> --add-reviewer <login> <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?>. <?><?> "@copilot" <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> Copilot <?><?><?><?><?><?><?> <?><?><?><?>. --attach <file> <?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?> '#' -B, --base <branch> <?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?><?><?><?> -b, --body <string> <?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?><?>. -F, --body-file <file> <?><?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?> <?><?><?><?> (<?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?> "-" <?><?><?><?><?><?><?> <?><?><?><?>) -m, --milestone <name> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> (<?><?><?><?><?> <?><?><?>) <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?> --remove-assignee <login> <?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?>. <?><?> "@me" <?><?><?><?> <?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?> "@copilot" <?><?><?><?> <?><?><?> <?><?><?><?><?><?><?> <?><?> Copilot <?><?><?><?><?><?><?> <?><?><?><?>. --remove-label <name> <?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?> --remove-milestone <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?><?><?> --remove-project <title> <?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> --remove-reviewer <login> <?><?><?> <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?>. <?><?> "@copilot" <?><?><?><?> <?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> Copilot <?><?><?><?><?><?><?> <?><?><?><?>. -t, --title <string> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?>. <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?> (OPTIONS INHERITED FROM PARENT COMMANDS) -R, --repo <[HOST/]OWNER/REPO> <?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?> [HOST/]OWNER/REPO <?><?><?><?><?> <?><?><?><?> (EXIT CODES) 0: <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> 1: <?><?><?> 2: <?><?><?><?><?> <?><?><?> <?><?> 4: <?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?> <?><?><?><?>: <?><?><?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?>. <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?>. <?><?><?><?><?><?><?> (EXAMPLES) # <?><?><?><?><?><?> <?><?><?><?><?> <?> <?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?><?><?> $ gh pr edit 23 --title "I found a bug" --body "Nothing works" # <?><?><?><?><?><?><?> <?><?> <?><?> <?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?> $ gh pr edit 23 --body-file body.txt # <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?> "#" $ gh pr edit 23 --attach './login.png#The login error state' # <?><?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?> $ gh pr edit 23 --attach ./before.png --attach ./after.png # <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> $ gh pr edit 23 --add-label "bug,help wanted" --remove-label "core" # <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> $ gh pr edit 23 --add-reviewer monalisa,hubot --remove-reviewer myorg/team-name # <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> $ gh pr edit 23 --add-reviewer monalisa # <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> GitHub Copilot $ gh pr edit 23 --add-reviewer "@copilot" # <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> $ gh pr edit 23 --add-assignee "@me" --remove-assignee monalisa,hubot # <?><?><?><?><?><?><?> <?><?> GitHub Copilot $ gh pr edit 23 --add-assignee "@copilot" # <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?><?><?><?><?> $ gh pr edit 23 --add-project "Roadmap" --remove-project v1,v2 $ gh pr edit 23 --milestone "Version 1" $ gh pr edit 23 --remove-milestone <?><?><?><?><?><?> <?><?><?><?><?><?> (SEE ALSO) gh-pr(1) Sep 2026 GH-PR-EDIT(1)