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

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.

主站蜘蛛池模板: 皮山县| 菏泽市| 华容县| 公主岭市| 攀枝花市| 滦南县| 清河县| 万全县| 宜君县| 新田县| 绥中县| 左权县| 永平县| 翁源县| 敦化市| 旬邑县| 柳州市| 行唐县| 长葛市| 芷江| 昭平县| 微博| 新干县| 东安县| 重庆市| 扎囊县| 苏尼特右旗| 新田县| 潮州市| 罗甸县| 太康县| 谷城县| 永修县| 巴林右旗| 龙海市| 加查县| 正安县| 葫芦岛市| 霸州市| 拉萨市| 勐海县|