GIT Installation and Configuration

GIT installation

download link

Private warehouse configuration

You need to configure a user name and e-mail address

Instructions are as follows:

git config –global user.name xxxx

git confit –global user.email xxxx

View configuration instructions:

git config –list

GITHub Configuration

In an example SSH address, configure the public and private key, public key to their GITHub configuration, the private key is locally ordered as follows:

ssh-keygen, you are prompted to enter the name of the file after execution, password, the password can directly enter the empty set, two files are generated one is xxxx, and the other is xxx.pub, will be generated in the current folder.

-T by SSH [email protected] whether the communication test.

To clone a remote repository via git clone git address

Guess you like

Origin www.cnblogs.com/springmonkey/p/12237872.html