IDEA从git上clone项目

1. 从https://git-scm.com/downloads上下载对应系统的git安装包。

2. 打开IDEA中setting...   File->Settings

3. 在Version Control中找到Git,并配置git.exe路径(Git安装目录\bin\git.exe)。

4. 从Git上Clone项目到本地  File->New->Project from Version Control->Git

5. 输入Git上项目HTTP地址,因本人已Clone该项目,所以提示已存在

PS:clone中IDEA提示Clone failed:Authentication failed for “http......“

在Git安装目录下打开git-cmd可执行程序(D:\git\git-cmd.exe),在命令行里输入 git config --system --unset credential.helper  回车。然后从新clone时输入git上账户和密码即可。
 

猜你喜欢

转载自blog.csdn.net/yangwenxue_admin/article/details/88018334