官术网_书友最值得收藏!

Time for action — installing and configuring Git

Get ready! We are going to install Git onto our computer using Homebrew.

  1. Open Terminal.
  2. Run the following command to install Git using Homebrew:
    brew install git 
    
  3. Terminal will download and install Git for you in just a matter of moments. It will then respond with a success message telling you that Git has been installed.
  4. After Git has been installed, you need to configure it so that it knows who you are when you commit changes to data. Run the following commands to identify yourself and make sure to fill in your own information where I've put Your Name and your_email@domain.com:
    git config global user.name "Your Name" git config global user.email your_email@domain.com 
    

What just happened?

We just installed Git from the source using Homebrew. We then configured Git to use our name and e-mail address. These settings will make sure that any changes that are committed to source control from this machine are identified.

主站蜘蛛池模板: 怀宁县| 石景山区| 北流市| 油尖旺区| 民和| 济源市| 星子县| 浮山县| 瑞丽市| 馆陶县| 和平县| 廊坊市| 湛江市| 广灵县| 息烽县| 石家庄市| 武隆县| 和林格尔县| 米易县| 卓尼县| 广元市| 合川市| 喀什市| 潮安县| 长岭县| 綦江县| 普安县| 云龙县| 稻城县| 秦安县| 大荔县| 合水县| 临夏市| 潮安县| 新巴尔虎右旗| 台前县| 天门市| 福安市| 调兵山市| 南充市| 宝丰县|