IDEA提交代码到gitLab

在添加文件到git用 add 可能会有IDEA报错:

The following problems have occurred when adding the files: The following paths are ignored

在 Git Bash中输入

git config core.longpaths true

在提交之前要把git生成的ssh key添加到仓库。
IDEA设置本地安装的git
IDEA提交代码到gitLab_第1张图片
1:IDEA提交代码到gitLab_第2张图片
2:IDEA提交代码到gitLab_第3张图片
3:IDEA提交代码到gitLab_第4张图片
4:IDEA提交代码到gitLab_第5张图片
5:
IDEA提交代码到gitLab_第6张图片
提交代码操作就是这个操作,如果中间有问题报错,就是别的配置地方有问题。

你可能感兴趣的:(git,gitlab,idea,git)