Git Little Turtle installation and use tutorial

Time:2021-4-8

1、 Win7 install Git

Software download address: git for windows
The installation process directly defaults to the next step until the end of the installation.




Restart after installation.
After the installation, right-click in the blank space of the folder to show the following signs, indicating that the installation is successful.

2、 Install tortoise Git

Software download address: Git

You can choose the version and language pack to download according to the computer configuration.

3、 Git usage requirements

Git supports most git code hosting websites. I usually use GitHub and code cloud to create a new warehouse on the code cloud

If you want to download the code directly to the local folder, right-click in the blank space of the folder, select git bash here, and then enter the command in doc:

Or use git to clone the turtle directly to the local.

submit document

Submit files through tortoisegit, which is the right-click menu function
Git submit (c) – > “master”… / / equivalent to the command line ~: git add file. Here, the file is only submitted to the local version library, not to the remote version server
As shown in the figure below:

After submitting here, other clients can’t get the file you submitted because your file has not been updated to the remote version server.
Synchronize to version server
Submit files to the version server through tortoisegit, which is the right-click menu function
Git synchronization / / equivalent to the command line ~: git push origin master
As shown in the figure below:

Click push to finish, update the files to the remote version server, and other clients can get the files you submitted after updating.