Git learning (a) install Git

This chapter describes how to install Git development we are all older drivers, not what is Introduction to Git, and directly flowering.

Download: https://git-scm.com/downloads
Here Insert Picture Description

Install Git on Linux

Install Git switch to the root user and execute the following statement on Linux. Note: Make sure your Linux operating system can be a normal networking.

$ yum install git

Everything is automated, except that sometimes you need to ask when you press y [y / n], and confirm.

Install Git on Windows

Download the installation package is good, and nothing to talk about, all the way "Next" default installation.
Here Insert Picture Description
After installation is complete, found in the Start menu "Git" -> "Git Bash ", jumped out a window similar to the command-line stuff, it shows Git installed successfully!
Here Insert Picture Description

Before initial use to configure Git

Git successfully installed the first thing is to let children know who the owner!
This operation is very important because every Git submit to the will use this information can not be changed once it is determined.
Open the "Git" after installation -> "Git Bash" also need to set the final step, at the command line:

$ git config --global user.name "name"
$ git config --global user.email "[email protected]"

So far Git has been successfully installed!

Guess you like

Origin blog.csdn.net/qq_16830879/article/details/89521789
Recommended