A picture to quickly understand the six common commands of GIt

There are four areas in Git:
workplace work area; index/stage temporary storage area;
repository warehouse area; remote remote warehouse.

insert image description here
The workspace is the place where you write code locally (such as a local IDE, which does not need to be connected to the Internet), the temporary storage area is the place where the code is temporarily stored, and the remote warehouse needs to be connected to the Internet to see the code (such as github, gitee), and the warehouse area is the work area. District and transfer station for remote warehouses.

The right arrow is for download and the left arrow is for upload.

Guess you like

Origin blog.csdn.net/qq_46248455/article/details/127024308