- Learn WebAssembly
- Mike Rourke
- 124字
- 2021-08-13 15:38:57
Installing Git on macOS
Git is probably already available if you're using macOS. macOS comes bundled with Apple Git, which will probably be a few versions behind the most recent version. For the purposes of this book, the version you already have installed should be sufficient. If you wish to upgrade, you can install the most recent version of Git using Homebrew by running the following commands in Terminal:
# Install Git to the Homebrew installation folder (/usr/local/bin/git):
brew install git
# Ensure the default Git is pointing to the Homebrew installation:
sudo mv /usr/bin/git /usr/bin/git-apple
If you run this command, you should see /usr/local/bin/git:
which git
You can check to ensure that the installation was successful by running this command:
git --version
推薦閱讀
- 深入核心的敏捷開發(fā):ThoughtWorks五大關(guān)鍵實(shí)踐
- C語(yǔ)言程序設(shè)計(jì)習(xí)題解析與上機(jī)指導(dǎo)(第4版)
- PHP基礎(chǔ)案例教程
- 程序員面試筆試寶典
- Learn WebAssembly
- Access 2010數(shù)據(jù)庫(kù)應(yīng)用技術(shù)(第2版)
- iOS開發(fā)實(shí)戰(zhàn):從入門到上架App Store(第2版) (移動(dòng)開發(fā)叢書)
- TMS320LF240x芯片原理、設(shè)計(jì)及應(yīng)用
- 深入淺出Go語(yǔ)言編程
- JQuery風(fēng)暴:完美用戶體驗(yàn)
- 數(shù)據(jù)分析與挖掘算法:Python實(shí)戰(zhàn)
- Getting Started with React VR
- Python第三方庫(kù)開發(fā)應(yīng)用實(shí)戰(zhàn)
- 零基礎(chǔ)學(xué)Java(第5版)
- Python程序設(shè)計(jì)教程