windows git 配置

时间:2020-11-17 12:20:54   收藏:0   阅读:14

下载安装包

Git官网

安装

使用默认推荐设置就可以,有一步比较重要就是是否允许三方应用启动git

设置环境变量

在path里面添加“Git安装目录\cmd”

全局配置

git config --global user.name "用户名"
git config --global user.email "邮箱地址"

gitlab sshkey 设置

在gitlab > settings > ssh keys 中添加自己的ssh key,如果没有可以按照提示"generate one"

idea git配置

idea > settings > git 选择自己的git执行程序

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!