# GitHub CLI 2.99.0

DevFeed: [GitHub CLI 2.99.0](<https://devfeed.tech/articles/github-cli-2-99-0-67198.md>)

Original publisher: [Read original article](<https://github.com/cli/cli/releases/tag/v2.99.0>)

Author: github-actions\[bot\]

Published: 2026-09-01T20:51:22Z

Content type: release

Language: en

Sources: [GitHub CLI](<https://devfeed.tech/sources/github-cli.md>)

Topics: [GitHub CLI extension](<https://devfeed.tech/topics/gh-extension.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [github](<https://devfeed.tech/tags/github.md>), [images-and-videos](<https://devfeed.tech/tags/images-and-videos.md>), [pr](<https://devfeed.tech/tags/pr.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>)

## AI overview

GitHub CLI 2.99.0 adds a repeatable --attach flag for uploading images and videos to issues, pull requests, and comments, and extends gh issue develop with linked worktree checkout. The release also lists fixes and dependency updates.

## Source excerpt

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: # 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/ 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: # Create a linked branch for an issue and check it out in a worktree gh issue develop 123 --checkout --worktree /path/to/wt-feature What's Changed ✨ Features Add token and repository metadata required for attachment uploads by @BagToad in #14177 Add validation for attachable image and video files by @BagToad in #14178 Rewrite local Markdown references to uploaded attachment URLs by @BagToad in #14179 Add attachment uploads to GitHub by @BagToad in #14180 Add repeatable --attach flag parsing and upload orchestration by @BagToad in #14181 Add --attach to gh pr comment and gh issue comment by @BagToad in #14182 Add --attach to gh pr create and gh pr edit by @BagToad in #14183 Add --attach to gh issue create and gh issue edit by @BagToad in #14184 Add worktree checkout to gh issue develop by @sergiou87 in #14136 Use text-only spinner output when gh is inv