您的位置:首页 > 编程语言

IntelliJ IDEA项目Git两种连接github repository方式

2018-01-09 13:23 344 查看
1.当project已在repository存在时:添加SSH公钥到github,git clone到本地即可

2.当repository还不存在,即希望将本地已完成的project上传到github repository时: github创建一个与本地project同名的repository; VCS - Enable Version Control Intergration...选择Git - remotes添加github repository地址(如https://github.com/Web-Dev-Tutor/nodejs.git); VCS - git - add添加本地项目到git - commit&push即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git github