Skip to content

Branch rename broke the tap - "Error: Fetching /usr/local/Homebrew/Library/Taps/facebook/homebrew-fb failed!" #63

@liamjones

Description

@liamjones

Not sure you can do anything about this but an FYI in case others come looking:

brew update started responding with Error: Fetching /usr/local/Homebrew/Library/Taps/facebook/homebrew-fb failed! recently.

I believe this is down to the fact that it was trying to pull from the existing branch named master and that no longer exists, it's now called main.

brew update-reset fixes this:

==> Fetching /usr/local/Homebrew/Library/Taps/facebook/homebrew-fb...
From https://github.com/facebook/homebrew-fb
 - [deleted]         (none)     -> origin/automated_fixup_code_of_conduct_file_exists
 - [deleted]         (none)     -> origin/automated_fixup_contributing_file_exists
 - [deleted]         (none)     -> origin/master
   (refs/remotes/origin/HEAD has become dangling)
 * [new branch]      main       -> origin/main

Note: this will destroy all your uncommitted or committed changes to local homebrew repositories (Shouldn't be an issue unless you author formula updates, etc)

This shouldn't affect new users of the tap since I assume it'd pickup branch main from the outset.

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