美文网首页
Git clone代码,同时关联idea

Git clone代码,同时关联idea

作者: 生一先生 | 来源:发表于2017-12-29 15:38 被阅读0次

在桌面的git bash中输入以下内容

cd .ssh

git  config --global  user.name "htling"

git config --global user.mail "htling@iflytek.com "

ssh-keygen -t rsa -C  "htling@iflytek.com"

mv vine/ /d/

cd /d

cd vine/

git checkout branch-0.1

在idea中用open project打开下载下来的程序

然后按照路径  Fie--》Settings --》 Tools --》Terminal 找到后设置右边的Shell path(自己安装的Git路径下相对位置),如下图所示

然后在settings中找到版本控制,找到Git,勾选git中cmd下面的git.exe

相关文章

网友评论

      本文标题:Git clone代码,同时关联idea

      本文链接:https://www.haomeiwen.com/subject/zsnigxtx.html