#!/usr/bin/env bash cd `brew --prefix` git remote add origin https://github.com/mxcl/homebrew.git git fetch origin git reset --hard origin/master