Skip to content

GitHub Desktop tries to fetch the remote upstream of a fork #19346

Closed

Description

@mbochmann

The problem

User A has access to the private repositories of organization B and forks repository R as S into organization C.
User D only has access to organization C and clones repository S.
If user D tries to fetch, GitHub Desktop tries to fetch the upstream and gets the response that the repository was not found.
GitHub Desktop only shows one remote (origin) in the repository settings.
After removing the remote upstream with the Git shell, fetching in GitHub Desktop works as expected.

Release version

3.4.5

Operating system

Windows 11

Steps to reproduce the behavior

No response

Log files

No response

Screenshots

IMG-20241002-WA0002~2
IMG-20241002-WA0005~2
IMG_20241002_180032

Additional context

No response

Activity

  1. steveward commented on Oct 3, 2024

    @steveward
    Contributor

    Thanks for the issue @mbochmann. This is being tracked in #3715. I'll reference this issue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions