GH-PROJECT-EDIT(1)

✨ gh-project-edit(1) ✨

okay so bestie, welcome to gh-project-edit β€” the part of the GitHub CLI manual (that's the gh thing you already have installed, iykyk) that teaches you how to edit a project. yes, the actual project itself. glow-up time πŸ’…


🌸 NAME 🌸

gh-project-edit β€” Edit a project πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

gh project edit [<number>] [flags]

so you give it a project number (optional, in brackets, bestie β€” the flags do the real work) and then whatever flags you're feeling. no cap. ✨


πŸ’– OPTIONS πŸ’–

  • -d, --description <string> β€” the brand new description of the project. new lore unlocked πŸ“
  • --format <string> β€” output format, and the only one on the menu is {json} πŸ“
  • -q, --jq <expression> β€” filter that JSON output using a jq expression. yes, you write the expression, it's giving custom ✨
  • --owner <string> β€” login of the owner. and pls use "@me" for the current user, that's the shortcut 🫢
  • --readme <string> β€” the new readme for the project. drop that fresh readme πŸ“–
  • -t, --template <string> β€” format the JSON output using a Go template; see "gh help formatting" for the deets (go read it, it's iconic) 🧚
  • --title <string> β€” new title for the project. rename her, she deserves it πŸ‘‘
  • --visibility <string> β€” change the project visibility, and the options are {PUBLIC|PRIVATE} β€” pick one, you can't have both 😭

πŸ”₯ EXIT CODES πŸ”₯

vibe check on what the command hands back when it's done:

  • 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. (yes, go check, the help is literally right there, bestie 🌈)

⭐ EXAMPLE ⭐

like, here's the whole mood β€” editing monalisa's project "1":

# Edit the title of monalisa's project "1"
$ gh project edit 1 --owner monalisa --title "New title"

she ate that fr fr πŸ”₯


🌈 SEE ALSO 🌈

  • gh-project(1) β€” the rest of the project fam, go say hi πŸ‘‹

and that's the whole page, bestie 🫢 this little masterpiece comes to you from GitHub CLI v2.102.0, dated Oct 2026 β€” periodt. πŸ’œ

πŸ“¦ where this page comes from