Skip to content

Instantly share code, notes, and snippets.

@lucaspiller
Created November 8, 2013 14:29
Show Gist options
  • Save lucaspiller/7371780 to your computer and use it in GitHub Desktop.
Save lucaspiller/7371780 to your computer and use it in GitHub Desktop.
GitHub.app git and Homebrew git conflict
$ brew install git
zsh: correct 'git' to '.git' [nyae]? n
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-1.8.4.2.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-1.8.4.2.mavericks.bottle.tar.gz
==> Pouring git-1.8.4.2.mavericks.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The 'contrib' directory has been installed to:
/usr/local/share/git-core/contrib
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
Warning: Could not link git. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link git'
Possible conflicting files are:
/usr/local/bin/git-upload-pack -> /Applications/GitHub.app/Contents/Resources/git/bin/git-upload-pack
/usr/local/bin/git-upload-archive -> /Applications/GitHub.app/Contents/Resources/git/bin/git-upload-archive
/usr/local/bin/git-shell -> /Applications/GitHub.app/Contents/Resources/git/bin/git-shell
/usr/local/bin/git-receive-pack -> /Applications/GitHub.app/Contents/Resources/git/bin/git-receive-pack
/usr/local/bin/git-cvsserver -> /Applications/GitHub.app/Contents/Resources/git/bin/git-cvsserver
/usr/local/bin/git-credential-osxkeychain -> /Applications/GitHub.app/Contents/Resources/git/bin/git-credential-osxkeychain
/usr/local/bin/git -> /Applications/GitHub.app/Contents/Resources/git/bin/git
/usr/local/share/man/man7/gitworkflows.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitworkflows.7
/usr/local/share/man/man7/gittutorial.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gittutorial.7
/usr/local/share/man/man7/gittutorial-2.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gittutorial-2.7
/usr/local/share/man/man7/gitrevisions.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitrevisions.7
/usr/local/share/man/man7/gitnamespaces.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitnamespaces.7
/usr/local/share/man/man7/gitglossary.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitglossary.7
/usr/local/share/man/man7/gitdiffcore.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitdiffcore.7
/usr/local/share/man/man7/gitcvs-migration.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitcvs-migration.7
/usr/local/share/man/man7/gitcredentials.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitcredentials.7
/usr/local/share/man/man7/gitcore-tutorial.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitcore-tutorial.7
/usr/local/share/man/man7/gitcli.7 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man7/gitcli.7
/usr/local/share/man/man5/gitweb.conf.5 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man5/gitweb.conf.5
/usr/local/share/man/man5/gitrepository-layout.5 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man5/gitrepository-layout.5
/usr/local/share/man/man5/gitmodules.5 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man5/gitmodules.5
/usr/local/share/man/man5/gitignore.5 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man5/gitignore.5
/usr/local/share/man/man5/githooks.5 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man5/githooks.5
/usr/local/share/man/man5/gitattributes.5 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man5/gitattributes.5
/usr/local/share/man/man3/Git::SVN::Utils.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::SVN::Utils.3pm
/usr/local/share/man/man3/Git::SVN::Ra.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::SVN::Ra.3pm
/usr/local/share/man/man3/Git::SVN::Prompt.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::SVN::Prompt.3pm
/usr/local/share/man/man3/Git::SVN::Memoize::YAML.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::SVN::Memoize::YAML.3pm
/usr/local/share/man/man3/Git::SVN::Fetcher.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::SVN::Fetcher.3pm
/usr/local/share/man/man3/Git::SVN::Editor.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::SVN::Editor.3pm
/usr/local/share/man/man3/Git::I18N.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git::I18N.3pm
/usr/local/share/man/man3/Git.3pm -> /Applications/GitHub.app/Contents/Resources/git/share/man/man3/Git.3pm
/usr/local/share/man/man1/gitweb.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/gitweb.1
/usr/local/share/man/man1/gitremote-helpers.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/gitremote-helpers.1
/usr/local/share/man/man1/gitk.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/gitk.1
/usr/local/share/man/man1/git.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git.1
/usr/local/share/man/man1/git-write-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-write-tree.1
/usr/local/share/man/man1/git-whatchanged.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-whatchanged.1
/usr/local/share/man/man1/git-web--browse.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-web--browse.1
/usr/local/share/man/man1/git-verify-tag.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-verify-tag.1
/usr/local/share/man/man1/git-verify-pack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-verify-pack.1
/usr/local/share/man/man1/git-var.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-var.1
/usr/local/share/man/man1/git-upload-pack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-upload-pack.1
/usr/local/share/man/man1/git-upload-archive.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-upload-archive.1
/usr/local/share/man/man1/git-update-server-info.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-update-server-info.1
/usr/local/share/man/man1/git-update-ref.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-update-ref.1
/usr/local/share/man/man1/git-update-index.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-update-index.1
/usr/local/share/man/man1/git-unpack-objects.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-unpack-objects.1
/usr/local/share/man/man1/git-unpack-file.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-unpack-file.1
/usr/local/share/man/man1/git-tar-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-tar-tree.1
/usr/local/share/man/man1/git-tag.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-tag.1
/usr/local/share/man/man1/git-symbolic-ref.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-symbolic-ref.1
/usr/local/share/man/man1/git-svn.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-svn.1
/usr/local/share/man/man1/git-submodule.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-submodule.1
/usr/local/share/man/man1/git-stripspace.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-stripspace.1
/usr/local/share/man/man1/git-status.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-status.1
/usr/local/share/man/man1/git-stash.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-stash.1
/usr/local/share/man/man1/git-stage.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-stage.1
/usr/local/share/man/man1/git-show.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-show.1
/usr/local/share/man/man1/git-show-ref.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-show-ref.1
/usr/local/share/man/man1/git-show-index.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-show-index.1
/usr/local/share/man/man1/git-show-branch.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-show-branch.1
/usr/local/share/man/man1/git-shortlog.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-shortlog.1
/usr/local/share/man/man1/git-shell.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-shell.1
/usr/local/share/man/man1/git-sh-setup.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-sh-setup.1
/usr/local/share/man/man1/git-sh-i18n.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-sh-i18n.1
/usr/local/share/man/man1/git-sh-i18n--envsubst.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-sh-i18n--envsubst.1
/usr/local/share/man/man1/git-send-pack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-send-pack.1
/usr/local/share/man/man1/git-send-email.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-send-email.1
/usr/local/share/man/man1/git-rm.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-rm.1
/usr/local/share/man/man1/git-revert.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-revert.1
/usr/local/share/man/man1/git-rev-parse.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-rev-parse.1
/usr/local/share/man/man1/git-rev-list.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-rev-list.1
/usr/local/share/man/man1/git-reset.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-reset.1
/usr/local/share/man/man1/git-rerere.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-rerere.1
/usr/local/share/man/man1/git-request-pull.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-request-pull.1
/usr/local/share/man/man1/git-repo-config.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-repo-config.1
/usr/local/share/man/man1/git-replace.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-replace.1
/usr/local/share/man/man1/git-repack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-repack.1
/usr/local/share/man/man1/git-remote.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-remote.1
/usr/local/share/man/man1/git-remote-testgit.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-remote-testgit.1
/usr/local/share/man/man1/git-remote-fd.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-remote-fd.1
/usr/local/share/man/man1/git-remote-ext.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-remote-ext.1
/usr/local/share/man/man1/git-relink.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-relink.1
/usr/local/share/man/man1/git-reflog.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-reflog.1
/usr/local/share/man/man1/git-receive-pack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-receive-pack.1
/usr/local/share/man/man1/git-rebase.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-rebase.1
/usr/local/share/man/man1/git-read-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-read-tree.1
/usr/local/share/man/man1/git-quiltimport.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-quiltimport.1
/usr/local/share/man/man1/git-push.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-push.1
/usr/local/share/man/man1/git-pull.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-pull.1
/usr/local/share/man/man1/git-prune.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-prune.1
/usr/local/share/man/man1/git-prune-packed.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-prune-packed.1
/usr/local/share/man/man1/git-peek-remote.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-peek-remote.1
/usr/local/share/man/man1/git-patch-id.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-patch-id.1
/usr/local/share/man/man1/git-parse-remote.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-parse-remote.1
/usr/local/share/man/man1/git-pack-refs.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-pack-refs.1
/usr/local/share/man/man1/git-pack-redundant.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-pack-redundant.1
/usr/local/share/man/man1/git-pack-objects.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-pack-objects.1
/usr/local/share/man/man1/git-p4.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-p4.1
/usr/local/share/man/man1/git-notes.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-notes.1
/usr/local/share/man/man1/git-name-rev.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-name-rev.1
/usr/local/share/man/man1/git-mv.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mv.1
/usr/local/share/man/man1/git-mktree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mktree.1
/usr/local/share/man/man1/git-mktag.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mktag.1
/usr/local/share/man/man1/git-mergetool.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mergetool.1
/usr/local/share/man/man1/git-mergetool--lib.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mergetool--lib.1
/usr/local/share/man/man1/git-merge.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-merge.1
/usr/local/share/man/man1/git-merge-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-merge-tree.1
/usr/local/share/man/man1/git-merge-one-file.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-merge-one-file.1
/usr/local/share/man/man1/git-merge-index.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-merge-index.1
/usr/local/share/man/man1/git-merge-file.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-merge-file.1
/usr/local/share/man/man1/git-merge-base.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-merge-base.1
/usr/local/share/man/man1/git-mailsplit.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mailsplit.1
/usr/local/share/man/man1/git-mailinfo.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-mailinfo.1
/usr/local/share/man/man1/git-ls-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-ls-tree.1
/usr/local/share/man/man1/git-ls-remote.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-ls-remote.1
/usr/local/share/man/man1/git-ls-files.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-ls-files.1
/usr/local/share/man/man1/git-lost-found.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-lost-found.1
/usr/local/share/man/man1/git-log.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-log.1
/usr/local/share/man/man1/git-instaweb.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-instaweb.1
/usr/local/share/man/man1/git-init.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-init.1
/usr/local/share/man/man1/git-init-db.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-init-db.1
/usr/local/share/man/man1/git-index-pack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-index-pack.1
/usr/local/share/man/man1/git-imap-send.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-imap-send.1
/usr/local/share/man/man1/git-http-push.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-http-push.1
/usr/local/share/man/man1/git-http-fetch.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-http-fetch.1
/usr/local/share/man/man1/git-http-backend.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-http-backend.1
/usr/local/share/man/man1/git-help.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-help.1
/usr/local/share/man/man1/git-hash-object.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-hash-object.1
/usr/local/share/man/man1/git-gui.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-gui.1
/usr/local/share/man/man1/git-grep.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-grep.1
/usr/local/share/man/man1/git-get-tar-commit-id.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-get-tar-commit-id.1
/usr/local/share/man/man1/git-gc.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-gc.1
/usr/local/share/man/man1/git-fsck.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fsck.1
/usr/local/share/man/man1/git-fsck-objects.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fsck-objects.1
/usr/local/share/man/man1/git-format-patch.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-format-patch.1
/usr/local/share/man/man1/git-for-each-ref.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-for-each-ref.1
/usr/local/share/man/man1/git-fmt-merge-msg.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fmt-merge-msg.1
/usr/local/share/man/man1/git-filter-branch.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-filter-branch.1
/usr/local/share/man/man1/git-fetch.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fetch.1
/usr/local/share/man/man1/git-fetch-pack.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fetch-pack.1
/usr/local/share/man/man1/git-fast-import.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fast-import.1
/usr/local/share/man/man1/git-fast-export.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-fast-export.1
/usr/local/share/man/man1/git-difftool.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-difftool.1
/usr/local/share/man/man1/git-diff.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-diff.1
/usr/local/share/man/man1/git-diff-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-diff-tree.1
/usr/local/share/man/man1/git-diff-index.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-diff-index.1
/usr/local/share/man/man1/git-diff-files.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-diff-files.1
/usr/local/share/man/man1/git-describe.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-describe.1
/usr/local/share/man/man1/git-daemon.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-daemon.1
/usr/local/share/man/man1/git-cvsserver.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-cvsserver.1
/usr/local/share/man/man1/git-cvsimport.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-cvsimport.1
/usr/local/share/man/man1/git-cvsexportcommit.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-cvsexportcommit.1
/usr/local/share/man/man1/git-credential.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-credential.1
/usr/local/share/man/man1/git-credential-store.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-credential-store.1
/usr/local/share/man/man1/git-credential-cache.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-credential-cache.1
/usr/local/share/man/man1/git-credential-cache--daemon.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-credential-cache--daemon.1
/usr/local/share/man/man1/git-count-objects.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-count-objects.1
/usr/local/share/man/man1/git-config.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-config.1
/usr/local/share/man/man1/git-commit.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-commit.1
/usr/local/share/man/man1/git-commit-tree.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-commit-tree.1
/usr/local/share/man/man1/git-column.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-column.1
/usr/local/share/man/man1/git-clone.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-clone.1
/usr/local/share/man/man1/git-clean.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-clean.1
/usr/local/share/man/man1/git-citool.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-citool.1
/usr/local/share/man/man1/git-cherry.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-cherry.1
/usr/local/share/man/man1/git-cherry-pick.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-cherry-pick.1
/usr/local/share/man/man1/git-checkout.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-checkout.1
/usr/local/share/man/man1/git-checkout-index.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-checkout-index.1
/usr/local/share/man/man1/git-check-ref-format.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-check-ref-format.1
/usr/local/share/man/man1/git-check-mailmap.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-check-mailmap.1
/usr/local/share/man/man1/git-check-ignore.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-check-ignore.1
/usr/local/share/man/man1/git-check-attr.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-check-attr.1
/usr/local/share/man/man1/git-cat-file.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-cat-file.1
/usr/local/share/man/man1/git-bundle.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-bundle.1
/usr/local/share/man/man1/git-branch.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-branch.1
/usr/local/share/man/man1/git-blame.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-blame.1
/usr/local/share/man/man1/git-bisect.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-bisect.1
/usr/local/share/man/man1/git-archive.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-archive.1
/usr/local/share/man/man1/git-archimport.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-archimport.1
/usr/local/share/man/man1/git-apply.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-apply.1
/usr/local/share/man/man1/git-annotate.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-annotate.1
/usr/local/share/man/man1/git-am.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-am.1
/usr/local/share/man/man1/git-add.1 -> /Applications/GitHub.app/Contents/Resources/git/share/man/man1/git-add.1
/usr/local/share/git-core/templates/info/exclude -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/info/exclude
/usr/local/share/git-core/templates/hooks/update.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/update.sample
/usr/local/share/git-core/templates/hooks/prepare-commit-msg.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/prepare-commit-msg.sample
/usr/local/share/git-core/templates/hooks/pre-rebase.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/pre-rebase.sample
/usr/local/share/git-core/templates/hooks/pre-push.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/pre-push.sample
/usr/local/share/git-core/templates/hooks/pre-commit.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/pre-commit.sample
/usr/local/share/git-core/templates/hooks/pre-applypatch.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/pre-applypatch.sample
/usr/local/share/git-core/templates/hooks/post-update.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/post-update.sample
/usr/local/share/git-core/templates/hooks/commit-msg.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/commit-msg.sample
/usr/local/share/git-core/templates/hooks/applypatch-msg.sample -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/hooks/applypatch-msg.sample
/usr/local/share/git-core/templates/description -> /Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/description
/usr/local/lib/perl5/site_perl/Git.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git.pm
/usr/local/lib/perl5/site_perl/Git/SVN.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Utils.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Utils.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Ra.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Ra.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Prompt.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Prompt.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Migration.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Migration.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Memoize/YAML.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Memoize/YAML.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Log.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Log.pm
/usr/local/lib/perl5/site_perl/Git/SVN/GlobSpec.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/GlobSpec.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Fetcher.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Fetcher.pm
/usr/local/lib/perl5/site_perl/Git/SVN/Editor.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/SVN/Editor.pm
/usr/local/lib/perl5/site_perl/Git/IndexInfo.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/IndexInfo.pm
/usr/local/lib/perl5/site_perl/Git/I18N.pm -> /Applications/GitHub.app/Contents/Resources/git/lib/perl5/site_perl/Git/I18N.pm
Warning: Could not link git. Unlinking...
Error: Permission denied - /usr/local/lib/perl5/site_perl/5.16.2
@ghigt
Copy link

ghigt commented Jun 19, 2014

I've this same issue, do you have a solution?

EDIT (solution):

$ sudo chown -R $USER:admin /usr/local
$ brew install git
# optionally (if trouble with `brew link git`)
$ brew link --overwrite git

@Fire2Sky
Copy link

Fire2Sky commented Dec 3, 2014

It already resolved my problem.Thank you.

@masonwr
Copy link

masonwr commented Feb 6, 2016

This helped me resolve my problem too. Thank you!

Copy link

ghost commented Dec 27, 2017

$ brew link --overwrite git
worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment