---
next_cursor: eyJzY29yZSI6MCwic2VxIjozODMsInNpbmNlIjpudWxsLCJ0b29sIjoiZ2giLCJ2IjoxfQ
has_more: true
next: https://sincecutoff.com/v1/changes.md?tool=gh&score=0&cursor=eyJzY29yZSI6MCwic2VxIjozODMsInNpbmNlIjpudWxsLCJ0b29sIjoiZ2giLCJ2IjoxfQ
items: 10
---
# sincecutoff.com changes: gh

## gh browse adds --actions flag (gh, 2026-01-14)
Published 2026-10-13
- slug: gh-browse-adds-actions-flag-168b26db7812
- score: 0.94

How to use it:

To open the Actions page for a repository, run `gh browse --actions` from that repository. Use `--repo <HOST/OWNER/REPO>` to select another repository.

Examples:

```
gh browse --actions
```

```
gh browse --actions --repo <HOST/OWNER/REPO>
```

- why_it_matters: Open a repository's Actions page from the CLI.
- sources: <https://github.com/cli/cli/releases/tag/v2.85.0>, <https://cli.github.com/manual/gh_browse>
- gotchas: "Version: v2.85.0"; "--actions: Open repository Actions."; "--repo <HOST/OWNER/REPO>: Select another repository; format is [HOST/]OWNER/REPO."

## gh repo set-default accepts git remote names (gh, 2026-01-14)
Published 2026-10-13
- slug: gh-repo-set-default-accepts-git-remote-names-89c02178765f
- score: 0.93

How to use it:

When setting a local clone’s default repository to a named Git remote, run `gh repo set-default <remote-name>`.

Examples:

```
gh repo set-default origin
```

- why_it_matters: Set a repository's default using a named git remote.
- sources: <https://github.com/cli/cli/releases/tag/v2.85.0>, <https://cli.github.com/manual/gh_repo_set-default>
- gotchas: "Version: v2.85.0"; "<repository>: Repository to set as default; the documented example accepts a Git remote name."

## gh cache delete can delete all caches for a ref (gh, 2026-01-21)
Published 2026-10-13
- slug: gh-cache-delete-can-delete-all-caches-for-a-ref-0332e9a5061d
- score: 0.98

How to use it:

When deleting all GitHub Actions caches for a ref, run `gh cache delete --all --ref <ref>`; use a fully qualified branch or pull request ref.

Examples:

```
gh cache delete --all --ref refs/heads/<branch-name>
```

```
gh cache delete --all --ref refs/pull/<PR-number>/merge
```

- why_it_matters: Delete all GitHub Actions caches associated with a ref.
- sources: <https://github.com/cli/cli/releases/tag/v2.86.0>, <https://cli.github.com/manual/gh_cache_delete>
- gotchas: "Version: v2.86.0"; "--all (required): Delete all caches; combine with `--ref` to target one ref."; "--ref <string> (required): Target a ref formatted as `refs/heads/<branch name>` or `refs/pull/<number>/merge`."; "Prerequisite: Deletion requires authorization with the `repo` scope."

## gh copilot installs and runs GitHub Copilot CLI (gh, 2026-01-21)
Published 2026-10-13
- slug: gh-copilot-installs-and-runs-github-copilot-cli-d72169b5e018
- score: 0.97

How to use it:

To use Copilot CLI from a terminal, run `gh copilot`; on its first run, follow the prompt to install it. The command runs Copilot CLI and forwards arguments and flags that `gh` does not support.

Examples:

```
gh copilot [flags] [args]
```

- why_it_matters: Use GitHub Copilot CLI from a terminal while working in a repository with GitHub CLI users.
- sources: <https://github.blog/changelog/2026-01-21-install-and-use-github-copilot-cli-directly-from-the-github-cli>, <https://cli.github.com/manual/gh_help_reference>, <https://github.com/github/copilot-cli>
- gotchas: "Requires Run `gh copilot`; it prompts to install Copilot CLI on first run."; "flags and args: Arguments and flags not supported by `gh` are forwarded to Copilot CLI."; "--remove: Remove the downloaded Copilot CLI."; "Prerequisite: An active Copilot subscription; organization or enterprise users need Copilot CLI enabled by their administrator."; "The installation prompt occurs when `gh copilot` is run for the first time."; "Arguments and flags that the `gh` command does not support are forwarded to Copilot CLI."

## gh project item-list adds --query (gh, 2026-02-18)
Published 2026-10-13
- slug: gh-project-item-list-adds-query-0ed1d62d258f
- score: 0.97

How to use it:

When filtering project items, pass a Projects filter expression to `--query`; advanced search works only if the API host supports it.

Examples:

```
gh project item-list <number> --owner <owner> --query "label:bug -status:Done"
```

- why_it_matters: List project items filtered by a query.
- sources: <https://github.com/cli/cli/releases/tag/v2.87.0>, <https://cli.github.com/manual/gh_project_item-list>, <https://cli.github.com/manual/gh_project>
- gotchas: "Version: v2.87.0"; "<number>: Project number."; "--owner <string>: Project owner's login; use `@me` for the current user."; "--query <string>: Filter items using Projects filter syntax, such as `assignee:octocat -status:Done`."; "Prerequisite: GitHub Projects commands require the `project` token scope."

## GitHub Actions artifacts support unzipped upload and download (gh, 2026-02-26)
Published 2026-10-13
- slug: github-actions-artifacts-support-unzipped-upload-and-download-f44cfccd3d08
- score: 0.94

How to use it:

When a workflow needs an unzipped artifact, upload one file with `actions/upload-artifact@v7` and `archive: false`. If the workflow downloads it with the download action, use `actions/download-artifact@v8` and specify the uploaded file name.

Examples:

```
- uses: actions/upload-artifact@v7
  with:
    path: <file>
    archive: false
```

```
- uses: actions/download-artifact@v8
  with:
    name: <uploaded-file-name>
```

- why_it_matters: When a workflow needs to preserve artifacts without automatic zipping, configure the upload and download actions for unzipped artifacts.
- before: Previously, upload-artifact automatically zipped artifacts; downloading with the action or browser also returned a zipped file.
- sources: <https://github.blog/changelog/2026-02-26-github-actions-now-supports-uploading-and-downloading-non-zipped-artifacts>, <https://github.com/actions/upload-artifact/blob/main/README.md>, <https://github.com/marketplace/actions/download-a-build-artifact>, <https://github.blog/changelog/2026-02-26-github-actions-now-supports-uploading-and-downloading-non-zipped-artifacts/>
- gotchas: "Version: actions/upload-artifact v7; actions/download-artifact v8 is required when using that action"; "upload path (required): File, directory, or wildcard path to upload. With `archive: false`, only one file can be uploaded."; "upload archive: Whether to zip the artifact files; defaults to `true`. Set to `false` for an unzipped upload."; "download name: Artifact name to download; for unzipped files, use the uploaded file name. If omitted, all artifacts for the run are downloaded."; "download path: Destination path; defaults to `$GITHUB_WORKSPACE`."; "download artifact-ids: Comma-separated artifact IDs. Use either `artifact-ids` or `name`, not both."; "Prerequisite: Use upload-artifact v7; if downloading with the action, use download-artifact v8."; "Prerequisite: The action documentation says upload-artifact v4+ and download-artifact v4+ are not supported on GitHub Enterprise Server."; "Only applies to artifacts uploaded with `actions/upload-artifact` v7 where `archive` is set to `false`."; "`archive` currently defaults to `true` for backwards compatibility."; "Previously uploaded artifacts and artifacts uploaded with older action versions continue to be zipped."; "Update to `actions/download-artifact` v8 if using that action."

## gh browse opens blame view with --blame (gh, 2026-03-10)
Published 2026-10-13
- slug: gh-browse-opens-blame-view-with-blame-5379a7370c5f
- score: 0.97

How to use it:

When investigating a repository file’s history, run `gh browse <path> --blame` to open its blame view.

Examples:

```
gh browse <path> --blame
```

- why_it_matters: Open a repository file's blame view while investigating its history.
- sources: <https://github.com/cli/cli/releases/tag/v2.88.0>, <https://cli.github.com/manual/gh_browse>
- gotchas: "Version: v2.88.0"; "<path> (required): Repository file path to open."; "--blame: Open the file’s blame view."

## gh issue close links duplicates and sets the duplicate reason (gh, 2026-03-10)
Published 2026-10-13
- slug: gh-issue-close-links-duplicates-and-sets-the-duplicate-reason-a29ae44864c1
- score: 0.99

How to use it:

When closing an issue as a duplicate, run `gh issue close` with `--duplicate-of` and the original issue number or URL to link it. To set the duplicate close reason without linking an issue, use `--reason duplicate`.

Examples:

```
gh issue close <issue-number> --duplicate-of <original-issue-number-or-url>
```

```
gh issue close <issue-number> --reason duplicate
```

- why_it_matters: Close a repository issue as a duplicate while maintaining its issue status.
- sources: <https://github.com/cli/cli/releases/tag/v2.88.0>, <https://cli.github.com/manual/gh_issue_close>, <https://github.com/cli/cli/blob/v2.88.0/pkg/cmd/issue/close/close.go>, <https://cli.github.com/manual/gh_auth_login>
- gotchas: "Version: v2.88.0"; "<number> | <url> (required): Issue to close; provide its number or URL."; "--duplicate-of <string>: Mark the issue as a duplicate of another issue by number or URL."; "--reason <string>: Close reason: `completed`, `not planned`, or `duplicate`."; "Prerequisite: Authenticate `gh` with a GitHub host before use."; "Prerequisite: With `--duplicate-of`, the referenced item must be an issue; the v2.88.0 source rejects pull requests and the current issue itself."; "`--duplicate-of` accepts an issue number or URL."

## gh pr create and gh pr edit request Copilot Code Review (gh, 2026-03-10)
Published 2026-10-13
- slug: gh-pr-create-and-gh-pr-edit-request-copilot-code-review-25f28e64c1aa
- score: 0.96

How to use it:

When creating a pull request, request Copilot review with `gh pr create --reviewer @copilot` or select Copilot in the interactive reviewer prompt. For an existing pull request, use `gh pr edit [<number> | <url> | <branch>] --add-reviewer @copilot` (provide the PR number if its branch is not checked out).

Examples:

```
gh pr create --reviewer @copilot
```

```
gh pr edit <PR-NUMBER> --add-reviewer @copilot
```

- why_it_matters: Request Copilot Code Review when creating or editing a pull request.
- sources: <https://github.com/cli/cli/releases/tag/v2.88.0>, <https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=cli>, <https://cli.github.com/manual/gh_pr_create>, <https://cli.github.com/manual/gh_pr_edit>, <https://docs.github.com/en/pull-requests/how-tos/create-pull-requests/requesting-a-pull-request-review>
- gotchas: "Version: v2.88.0"; "gh pr create --reviewer <handle>: Request reviews from people or teams by handle; `@copilot` requests Copilot review."; "gh pr edit [<number> | <url> | <branch>]: Select the pull request to edit; without an argument, selects the pull request for the current branch."; "gh pr edit --add-reviewer <login>: Add or re-request a reviewer; `@copilot` requests Copilot review."; "Prerequisite: GitHub CLI must be installed and authenticated; access to Copilot is required."; "Prerequisite: Requesting a pull request review requires write access to the repository."; "Docs conflict: The current `gh pr edit` manual says `@copilot` review requests are not supported on GitHub Enterprise Server. The cited CLI Copilot review docs do not state this platform limitation."

## gh pr diff excludes selected files from diff output (gh, 2026-03-10)
Published 2026-10-13
- slug: gh-pr-diff-excludes-selected-files-from-diff-output-e9ae326eaa46
- score: 0.94

How to use it:

When reviewing a pull request, run `gh pr diff` with `--exclude` for each glob pattern to omit matching files from the diff output.

Examples:

```
gh pr diff <number> --exclude '*.yml' --exclude 'generated/*'
```

- why_it_matters: Review a pull request diff while omitting selected files from its output.
- sources: <https://github.com/cli/cli/releases/tag/v2.88.0>, <https://cli.github.com/manual/gh_pr_diff>
- gotchas: "Version: v2.88.0"; "<number>: Pull request number; without an argument, selects the pull request for the current branch."; "-e, --exclude <patterns>: Exclude files matching glob patterns; repeat the flag for multiple patterns. Patterns use forward slashes as path separators on all platforms."

Next: https://sincecutoff.com/v1/changes.md?tool=gh&score=0&cursor=eyJzY29yZSI6MCwic2VxIjozODMsInNpbmNlIjpudWxsLCJ0b29sIjoiZ2giLCJ2IjoxfQ
Save `next_cursor`; next visit, pass it to get only what was published since.
<!-- end of page -->
