- 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
推薦閱讀
- HTML5+CSS3王者歸來
- FuelPHP Application Development Blueprints
- Google Apps Script for Beginners
- Python從菜鳥到高手(第2版)
- Web交互界面設(shè)計(jì)與制作(微課版)
- 神經(jīng)網(wǎng)絡(luò)編程實(shí)戰(zhàn):Java語言實(shí)現(xiàn)(原書第2版)
- FLL+WRO樂高機(jī)器人競賽教程:機(jī)械、巡線與PID
- Asynchronous Android Programming(Second Edition)
- HTML5從入門到精通 (第2版)
- Go語言精進(jìn)之路:從新手到高手的編程思想、方法和技巧(1)
- Babylon.js Essentials
- Django實(shí)戰(zhàn):Python Web典型模塊與項(xiàng)目開發(fā)
- 創(chuàng)意UI Photoshop玩轉(zhuǎn)移動(dòng)UI設(shè)計(jì)
- C++ System Programming Cookbook
- 測(cè)試架構(gòu)師修煉之道:從測(cè)試工程師到測(cè)試架構(gòu)師