Skip to content

Use gh CLI to add or modify repository description #22456

Discussion options

You must be logged in to vote

Hi @rockyhotas,

Yes; you have two options for editing the description in your repo:

  1. Using GitHub CLI:
    Try gh repo edit with the -d or --description flag.

  2. Using the GitHub UI:
    In the About section of your repo, click the gear ⚙️ symbol to display the Edit repository details pane. Edit the description and click Save changes once you’re done.

The CLI command format is:

gh repo edit <repository> --description <string>

See details in the manual/gh_repo_edit page (I can’t add a direct URL for some reason 🤷‍♀️t3: )

Let me know if it works!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@PRATAP-KUMAR
Comment options

@krystiaL
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants