{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/6177","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/6177/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/6177/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/6177/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/6177","id":42712877,"number":6177,"title":"Failed to update tap: caskroom/cask","user":{"login":"SuperMarioBean","id":3890843,"avatar_url":"https://avatars.githubusercontent.com/u/3890843?v=3","gravatar_id":"","url":"https://api.github.com/users/SuperMarioBean","html_url":"https://github.com/SuperMarioBean","followers_url":"https://api.github.com/users/SuperMarioBean/followers","following_url":"https://api.github.com/users/SuperMarioBean/following{/other_user}","gists_url":"https://api.github.com/users/SuperMarioBean/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperMarioBean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperMarioBean/subscriptions","organizations_url":"https://api.github.com/users/SuperMarioBean/orgs","repos_url":"https://api.github.com/users/SuperMarioBean/repos","events_url":"https://api.github.com/users/SuperMarioBean/events{/privacy}","received_events_url":"https://api.github.com/users/SuperMarioBean/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-09-14T04:59:50Z","updated_at":"2015-09-15T14:44:34Z","closed_at":"2014-09-18T12:20:41Z","body":"hi there, i am new to use home-brew-cask，recently，when i use `$ brew update` to update cask, terminal always complained `Error: Failed to update tap: caskroom/cask`, then i use `--verbose`, I find this:\r\n\r\n```bash\r\n==> git rev-parse -q --verify HEAD\r\n9da670e4baaa61f2042ef5f414268442a5e25b1b\r\ngit config core.autocrlf false\r\ngit pull origin refs/heads/master:refs/remotes/origin/master\r\nFrom https://github.com/caskroom/homebrew-cask\r\n ! [rejected]        master     -> origin/master  (non-fast-forward)\r\n * [new tag]         v0.41.1    -> v0.41.1\r\nError: Failed to update tap: caskroom/cask\r\n```\r\n\r\ni check my brew-cask version is v0.35.0, however git tells me there is  a tag v0.41.1, is it ok or i missed something?"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/140416796","html_url":"https://github.com/caskroom/homebrew-cask/issues/6177#issuecomment-140416796","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/6177","id":140416796,"user":{"login":"dougdonohoe","id":1576240,"avatar_url":"https://avatars.githubusercontent.com/u/1576240?v=3","gravatar_id":"","url":"https://api.github.com/users/dougdonohoe","html_url":"https://github.com/dougdonohoe","followers_url":"https://api.github.com/users/dougdonohoe/followers","following_url":"https://api.github.com/users/dougdonohoe/following{/other_user}","gists_url":"https://api.github.com/users/dougdonohoe/gists{/gist_id}","starred_url":"https://api.github.com/users/dougdonohoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougdonohoe/subscriptions","organizations_url":"https://api.github.com/users/dougdonohoe/orgs","repos_url":"https://api.github.com/users/dougdonohoe/repos","events_url":"https://api.github.com/users/dougdonohoe/events{/privacy}","received_events_url":"https://api.github.com/users/dougdonohoe/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T14:44:34Z","updated_at":"2015-09-15T14:44:34Z","body":"I too found this issue trying to solve a similar problem with `caskroom/versions` when running `brew update`:\r\n\r\n```\r\n$ brew update\r\nError: Failed to update tap: caskroom/versions\r\nAlready up-to-date.\r\n```\r\n\r\nVerbose output showed this:\r\n\r\n```\r\ngit pull --ff --no-rebase origin refs/heads/master:refs/remotes/origin/master\r\nFrom https://github.com/caskroom/homebrew-versions\r\n ! [rejected]        master     -> origin/master  (non-fast-forward)\r\n```\r\n\r\nI was able to solve this by untapping, retapping:\r\n\r\n```\r\n$ brew untap caskroom/versions\r\n$ brew tap caskroom/versions\r\n$ brew update\r\nAlready up-to-date.\r\n```"}}