{"issue":{"title":"brew upgrade fails","user":{"login":"ebarrere","id":1285284,"url":"https://api.github.com/users/ebarrere","avatar_url":"https://secure.gravatar.com/avatar/4e43a54be5f133af6bfa9f4b362b9706?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4e43a54be5f133af6bfa9f4b362b9706"},"created_at":"2011-12-25T22:44:08Z","milestone":null,"state":"closed","updated_at":"2011-12-25T22:47:02Z","labels":[],"id":2656062,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":"2011-12-25T22:47:02Z","html_url":"https://github.com/mxcl/homebrew/issues/9275","body":"Hi there,\r\n\r\nTrying to run `brew upgrade` results in [error](https://gist.github.com/1519875).  I've just run `brew update`, uninstalled MacPorts, and the only output from `brew doctor` is the following:\r\n\r\n```\r\n==> You have uncommitted modifications to Homebrew's core.\r\nUnless you know what you are doing, you should: git reset --hard\r\n```\r\n\r\nI have tried resetting the code base by running this:\r\n\r\n```\r\ngit init; git fetch https://github.com/mxcl/homebrew.git master; git reset --hard FETCH_HEAD; brew update\r\n```\r\n\r\nLet me know if I can help.","number":9275,"url":"https://api.github.com/repos/mxcl/homebrew/issues/9275","comments":1,"assignee":null},"comment":{"user":{"login":"Sharpie","id":54181,"url":"https://api.github.com/users/Sharpie","avatar_url":"https://secure.gravatar.com/avatar/a52001938ed33a87334447413cc5beaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a52001938ed33a87334447413cc5beaa"},"created_at":"2011-12-25T22:47:02Z","updated_at":"2011-12-25T22:47:02Z","id":3271915,"body":"Duplicate of #7940. Also covered on the Common Issues page:\r\n\r\nhttps://github.com/mxcl/homebrew/wiki/Common-Issues","url":"https://api.github.com/repos/mxcl/homebrew/issues/comments/3271915"},"action":"created"}