How to use git to download the code on github to local Detailed

Download the code from github to local (first installed git locally)
git official website: https://git-scm.com/
this relatively simple, a total of three steps:

  1. New local repository
    to create a new folder, initialize git

the init git
Here Insert Picture Description
2. Add remote code github repository

git remote add origin + remote address code repository
Here Insert Picture Description
remote code repository addresses are shown below:

Here Insert Picture Description

  1. Download Remote Warehouse Code

git clone + remote code repository address 1
Here Insert Picture Description
is completed.

Here Insert Picture Description

Reprinted to: https://blog.csdn.net/qiucheng_198806/article/details/86220533

Guess you like

Origin blog.csdn.net/weixin_44474742/article/details/92382536