最新目录‹
1、安装Homebrew
2、安装Git
命令:brew install git
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# mcj @ M1_Max in ~ [15:40:08] $ brew install git Warning: No remote 'origin' in /opt/homebrew/Library/Taps/homebrew/homebrew-services, skipping update! Running `brew update --auto-update`... ==> Homebrew collects anonymous analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics have been recorded yet (nor will be during this `brew` run). ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations Installing from the API is now the default behaviour! You can save space and time by running: brew untap homebrew/core brew untap homebrew/cask ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae deadfinder flowpipe icloudpd mtm openjph tfautomv ==> New Casks cleanupbuddy easydevo mumuplayer nrfutil You have 1 outdated formula installed. ==> Fetching dependencies for git: gettext ==> Fetching gettext ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/gettext-0.22.4.arm6 ######################################################################### 100.0% ==> Fetching git ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/git-2.43.0.arm64_ve ######################################################################### 100.0% ==> Installing dependencies for git: gettext ==> Installing git dependency: gettext ==> Pouring gettext-0.22.4.arm64_ventura.bottle.tar.gz ? /opt/homebrew/Cellar/gettext/0.22.4: 2,042 files, 24.3MB ==> Installing git ==> Pouring git-2.43.0.arm64_ventura.bottle.tar.gz ==> Caveats The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. zsh completions and functions have been installed to: /opt/homebrew/share/zsh/site-functions ==> Summary ? /opt/homebrew/Cellar/git/2.43.0: 1,638 files, 50.5MB ==> Running `brew cleanup git`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ==> Caveats ==> git The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. zsh completions and functions have been installed to: /opt/homebrew/share/zsh/site-functions |
重新打开一个终端,输入:git version,就会发现已经是最新了~
|
1 2 |
$ git version git version 2.43.0 |
有可能你安装Git之后还是原来的版本,那就重新链接一下就行了~
brew link git --overwrite
此时git的地址变为了:
|
1 2 |
$ which git /opt/homebrew/bin/git |






最新评论
博主好,路过留言交流一下~我在做源头中转 Twinkle Model(利益相关):GPT 1折、国模 1折(GLM/DeepSeek/Kimi)、满血 Claude,低价稳定。价格全在模型广场 https://big-model.smart-agi.com/model-plaza ,有兴趣可以看看。
博主分享的 Surge 增强模式接管应用分流思路很赞!确实,系统大版本升级后,老牌 Proxifier 由于底层驱动兼容性问题经常莫名崩溃。在 Mac 上有 Surge 这种神器接管,但是在 Windows 平台上,很多人又很难找到兼顾‘轻量分流+稳定不崩溃’的工具:ProxiFyre 依赖 WireSock 内核驱动容易蓝屏且纯命令行,开 TUN 虚拟网卡又会把开发网段和公司 VPN 改乱。 如果是 Windows 用户寻找 Proxifier 替代品,非常推荐关注 Ghost Proxifier Pro: - 纯用户态 Winsock API Hook:完全免安装内核驱动和虚拟网卡,零蓝屏隐患,不改动系统默认网关与路由表; - 智能递归子进程树:很多现代客户端(如播放器、流媒体套件、IDE)会派生子进程,它能自动递归识别并接管流量,杜绝漏代理; - 现代 Fluent 图形界面:直接拖入目标 exe 即可一键绑定 SOCKS5/HTTP 节点,比老版配置规则直观很多。 注:该工具为非开源的独立客户端软件。 - 官网主页:https://ghostproxifier.com - 项目发布:https://github.com/liliBestCoder/ghost-proxifier-pro
曾经最爱之一,还有emlog,zblog
感谢分享经验,谢谢站长!!已收藏
牛牛牛
同样
站长您好,亚马逊云咨询推广资源,望建立联系,可邮件,谢谢。
换友情链接吗?