Skip to content

Instantly share code, notes, and snippets.

@nkgentile
Last active June 18, 2023 08:51
Show Gist options
  • Save nkgentile/95d5b23827907dd28d6a5e833fcdd881 to your computer and use it in GitHub Desktop.
Save nkgentile/95d5b23827907dd28d6a5e833fcdd881 to your computer and use it in GitHub Desktop.
Github CLI alias to update a PR's description
gh alias set --shell fill-body 'gh pr edit --body "$(git log --pretty=format:"- %s" --no-decorate --reverse ${1:-main}...HEAD)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment