前言
首先默认你已经安装好了git的客户端,如果没安装请先确保已经安装了git的客户端再进行后续的操作
详细步骤
第一步:进入你要克隆的文件夹下,然后点击Git Bash Here

第二步:找到远程仓库的地址,并复制该地址(这里以github上的举例)

第三步:使用下面的git命令从远程仓库复制代码到本地
git clone -b <branch> <url>
<branch> :连<>一起将<branch>替换为你要拉取的远程分支名称
<url>:连<>一起将<url>替换为你要拉取的远程仓库代码地址

这样远程仓库的代码就下载到本地了
所有评论(0)