Skip to content

Instantly share code, notes, and snippets.

@andrewpetrochenkov
Created January 5, 2026 17:23
Show Gist options
  • Select an option

  • Save andrewpetrochenkov/e54eb4aad3f049f91897f042c002479b to your computer and use it in GitHub Desktop.

Select an option

Save andrewpetrochenkov/e54eb4aad3f049f91897f042c002479b to your computer and use it in GitHub Desktop.
brew update-reset #brew #mac
cd /opt/homebrew
git status
git fetch --all
git reset --hard origin/master
brew update-reset
brew --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment