git
summer snow rain
这个作者很懒,什么都没留下…
展开
-
idea报错:fatal: –author ‘[email protected]’ is not ‘Name ’ and matches no existing author
需求阐述在本地项目上传到gitlab时,到了Commit Directory这一步,控制台报错:fatal: –author ‘[email protected]’ is not ‘Name ’ and matches no existing author解决方案我在网上搜了搜,尝试了一下如下解决方案:在idea中打开终端,view->terminal输入如下命令,名字和你的邮箱需要修改。git commit -m "add README" --author="user <user@mail原创 2022-04-23 21:00:50 · 2975 阅读 · 0 评论 -
CentOS7安装Gitlab及使用
安装Gitlab1.安装相关依赖yum -y install policycoreutils openssh-server openssh-clients postfix2.启动ssh服务、设置为开机启动systemctl enable sshd && sudo systemctl start sshd3. 设置postfix开机自启,并启动,postfix支持gitlab发信功能systemctl enable postfix && systemctl st原创 2022-04-23 17:43:03 · 1219 阅读 · 0 评论 -
idea如何把本地代码提交到gitlab上
需求阐述我最近新搭了一个gitlab,需要把本地的一个项目放上去,这是打开idea,发现之前没有安装git,导致在选择VCS->Create Giit Repository时,idea报如下错误。解决方案安装gitgit的下载地址:https://git-scm.com/参考git安装博客:git安装初始化本地项目打开项目所在文件夹,输入git init在idea中选择项目,右键选择add如下图所示:但是此时我的idea有一个报错,报错信息如下:报错原因:idea没有配置g原创 2022-04-23 17:40:37 · 3982 阅读 · 0 评论