Git-distributed version control

Git download

Git is a skill that must be mastered in our project work. We must learn to use first to share a git download address
https://git-scm.com/downloads You can download it directly

Git installation

Git, as the most advanced distributed version control software in the world, is very powerful, but the installation is very simple. After clicking the EXE file, you can directly use the next step without thinking. After the
Insert picture description hereinstallation is successful, there will be three programs
Insert picture description hereor right-click blank Insert picture description hererepresentatives can directly use
our commonly used Git Bash Here

Git configuration public key

After entering the settings under gitee Click picture
Insert picture description here
Insert picture description here
SSH public key you need git command line
Insert picture description here
Insert picture description here
SSH inside right-click to bring up the Git Bash Here
enter ssh-keygen -t rsa
Insert picture description here
The next step is three times Enter the folder will appear in both files
Insert picture description here
will .pub Open the file and copy the contents to the required public key box.
Insert picture description here
Click OK to confirm. You
will see that a public key has been generated
Insert picture description here

Git commands

After adding the public key, you can use Git for the project.
Here are some commonly used git commands
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44693109/article/details/109189851