git basics 1-git installation and configuration

Step 1: Download from official website: https://gitforwindows.org/

Obviously there is a download, I still look for it for a long time.

Step 2: Installation

After downloading, it is an .exe file, double-click to run, and just go to the next step.

Step 3: Confirm the installation and check the version

git --version

After the installation is complete, you can open the git command window with the right mouse button. The window uses Linux commands and clears the screen.

Part 4: Configure user information

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

In order to copy later, write separately, hahaha.

Step 5: View the new configuration information

git config --list

 

 

Guess you like

Origin blog.csdn.net/m0_43599959/article/details/112211408