Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8260719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:09:37+00:00 2026-06-08T03:09:37+00:00

I installed Homebrew . "brew –prefix" is /usr/local. I’ve now mistakenly done things to

  • 0

I installed Homebrew. "brew –prefix" is /usr/local. I’ve now mistakenly done things to the master branch of my local Brew Git repo that endlessly conflict with "brew update". I’d like to throw away or ignore my local changes. Normally I’d just rm -rf repo and re-clone, but I don’t think rm -rf /usr/local is wise.

How do make my local Brew Git repo happy?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:09:39+00:00Added an answer on June 8, 2026 at 3:09 am

    git reset --hard origin/master should make everything sync up with the main Homebrew Git repo. It’ll throw away any local changes you made to files tracked in the repo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's what I've done so far: I've installed Homebrew: /usr/bin/ruby -e $(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)
I've installed homebrew, and am trying to change the write permissisons for the /usr/local/include
I have a standard homebrew install inside of usr/local/ When I try: Larson-2:~ larson$
I just installed mysql in terminal through homebrew. Now when I try to connect
I have installed GIT 1.7.7.1 via homebrew and had to do a sudo brew
I have python3 installed via homebrew: brew install python3 --framework I have the vim
I installed Boost with homebrew( brew install boost ) on my Mac running Lion
I installed Ruby with Homebrew: brew install ruby Under Caveats it said: NOTE: By
I just installed PostgreSQL with homebrew: $ brew install postgresql I installed the pg
I'm running git 1.7 on Mac OSX, installed via Homebrew. I'm trying to use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.