Tôi đang theo dõi Luke Jones' article on setting up a local server và hiện tôi đang cố gắng thiết lập homebrew với git trên Mavericks. Tôi đã có git cài đặt trước khi cài đặt homebrew. Tôi đang gặp một vấn đề mà dường như giống với this question nhưng khi tôi đã cố gắng chạy brew link git
tôi nhận được lỗi sau:Lỗi liên kết git với homebrew
Error: Could not symlink file: /usr/local/Cellar/git/1.8.5.1/share/git-core/templates/info/exclude
Target /usr/local/share/git-core/templates/info/exclude already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
My /etc/paths
:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
which git
lợi nhuận /usr/bin/git
which brew
lợi nhuận /usr/local/bin/brew
Không chắc chắn vấn đề là gì, vì tôi vẫn không giỏi tìm cách của tôi xung quanh những thứ như thế này. Có ai biết các bước tiếp theo cần thực hiện không?
Cảm ơn bạn, cảm ơn bạn, cảm ơn bạn. – bafromca