Release notes

FEATURE

Attach screenshots and videos to issues and PRs from the command line

Reporting a bug with a screenshot used to mean opening the web page to upload it first. gh now has --attach, which uploads local images and videos and puts them into the body of an issue, a pull request, or a comment.

gh issue create --attach './repro.png#The error state'
gh pr comment 456 --attach ./result.mp4

If the body already references that local path, gh swaps in the uploaded URL; otherwise the attachment is appended. Repeat the flag to attach several files in one invocation. Attachments work on GitHub.com and GitHub Enterprise Cloud.

FEATURE

`gh issue develop` can check the branch out in a separate worktree

You are halfway through a change when an issue needs a fresh branch, and until now you had to tidy up before switching over. gh issue develop can now create the linked branch for an issue and check it out in a new Git worktree, a second working copy of the same project that stands on its own, leaving your current working copy untouched.

gh issue develop 123 --checkout --worktree /path/to/wt-feature

Original changelog

Original changelogAttach screenshots and videos to issues and PRs from the command line
## Attach images and videos to issues and pull requests

The repeatable `--attach` flag uploads local images and videos and adds them to issue, pull request, or comment bodies. If a body already references the local path, `gh` replaces it with the uploaded URL; otherwise it appends the attachment:

```shell
# Attach files when creating or editing an issue
gh issue create --attach './repro.png#The error state'
gh issue edit 123 --attach ./walkthrough.mp4

# Attach files when creating or editing a pull request
gh pr create --attach ./before.png
gh pr edit 456 --attach ./after.png

# Attach files to comments
gh issue comment 123 --attach ./repro.png
gh pr comment 456 --attach ./result.mp4
```

Repeat the flag to attach multiple files in a single invocation. Attachments are available on GitHub.com and GitHub Enterprise Cloud.

For more information see https://gh.io/gh-attach and https://github.blog/changelog/2026-09-01-github-cli-media-in-issues-pull-requests-and-comments/
Original changelog`gh issue develop` can check the branch out in a separate worktree
## Worktree support extended to `gh issue develop` 

`gh issue develop` can now create a linked branch and check it out in a new Git worktree, leaving your current working copy unchanged:

```shell
# Create a linked branch for an issue and check it out in a worktree
gh issue develop 123 --checkout --worktree /path/to/wt-feature
```