Table of contents
1. Pre-preparation, get the git download link
2.1. Open the git download interface
2.2. Enter the download interface
2.3. Download pre-configuration
2.5. After the download is complete, the idea opens
2.6. After the download is complete, the file directory will be displayed
3.1. Open the project path that needs to be downloaded
3.4. Project directory display
1. Pre-preparation, get the git download link
1. Obtain the corresponding project path
2. Get the branch of the corresponding project
3. Click clone to get the download link
4. Copy the corresponding download link
Two, idea download
2.1. Open the git download interface
2.2. Enter the download interface
2.3. Download pre-configuration
1. In the URL box, directly copy the download link prepared above
2. The directory box is the download path of the file
Note: You need to pay attention when selecting the download path of the optional project. You need to create an empty folder as a local project. The folder name is the same as the project, as shown in the figure below
2.4. Enter account password
2.5. After the download is complete, the idea opens
2.6. After the download is complete, the file directory will be displayed
Refer to 2.3, the project created at this time is directly in the created directory
3. Command line download
3.1. Open the project path that needs to be downloaded
and enter cmd in the file directory
3.2. Enter the black window
After entering the black window, enter: git clone + download link to enter the account password input interface
Or enter: git clone + download link + --branch + branch name, you can pull the specified branch of the project
After entering the account password as shown in the figure below, click Continue
3.3. Download completed
3.4. Project directory display
Note: According to the display of the two download directories:
Idea download needs to create a specific project name as a local library, that is, Path+FileName;
To download from the command line, you only need to select the directory you want to download, and you don’t need to create a specific file name, that is, Path.