Teach you how to clone code from gitHub to local
First download git
1. Official website address: https://git-scm.com/, click the download link to download the windows version
The 64-bit version is downloaded by default.
Double-click to install, next->select the installation directory, generally do not install on the c drive,
Selected by default -.>Next
Default
The default branch name is generally master and there is no need to change it.
Next, we configure the path environment, we still choose to use the default second, which can operate git not only through the command line, but also through a third-party graphical interface (such as little turtle). Convenient, and if you don't choose the second one, your idea won't be integrated into git.
Next, just click next by default, and then click install.
Here git is installed! Open the command line and enter: git --version under verification
Download TortoiseGit
Download URL: https://tortoisegit.org/download/
To install tortiseGit, just click the next step here, you can customize the installation directory under the configuration, the default is the c drive. At
this time gortoseGit is installed, open any file location, right click to see it,
right click setting, proceed Configuration: configure user name and mailbox, this version is relatively new, default
Clone the code on GitHub to local
Open the code on a gitHub, and then fork to your own gitHub branch
Then click Code, you can copy the git address of this code in your remote warehouse.
Open a local place where the code will be stored, right-click clone
to copy the link you just copied, click OK, and wait for the code to be cloned locally.
You're done.
Note: If you just download the code, you can directly copy the git address from other people's warehouse and download it to your local without fork,
but it is generally recommended to use the above method, which is conducive to collaborative development. I will write it later. , Haha