1. git 常规克隆
git clone https://github.com/yuedu/website.git projectName
2. git克隆私有项目
git clone https://github-username:github-password@github.com/yuedu/website.git
在clone
的时候,在https://
后面先加上github-username:github-password
,再@
项目的链接就可以正常的把项目clone
下来,这是相对比较简单的clone
自己的私人项目的方法。