Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh repo sync not working #7574

Copy link
Copy link

Description

@Alizter
Issue body actions

Describe the bug

$ gh repo sync alizter/dune
HTTP 404: Not Found (https://api.github.com/repos/alizter/dune/git/refs/heads/main)

when the repo doesn't need syncing, the command succeeds. Clicking this URL also correctly fetches the json.

NixOS

gh version 2.29.0 (1980-01-01)
https://github.com/cli/cli/releases/tag/v2.29.0

Steps to reproduce the behavior

  1. Have a repo that needs syncing.
  2. Do gh repo sync user/repo
  3. Should 404

Expected vs actual behavior

It used to work and sync the repo.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsmore-info-neededMore info needed from user/contributorMore info needed from user/contributorplatformProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.