文章分类 -  Git

摘要:在系统中找到 hosts 文件, Window:C:\Windows\System32\drivers\etc\hosts 或 Linux:/etc/hosts 之前为了能进入Github放置过一些 IP 地址则全部删除。 然放入一下两个 IP 地址: # GitHub Start 140.82.1 阅读全文
posted @ 2022-06-04 10:58 看看反馈 阅读(211) 评论(0) 推荐(0)
摘要:1、首先,需要你自己登录GitLab,并新建一个项目的链接,如下图所示; (此图为图三,该链接下面操作中将会用到!) 2、在idea上新建一个项目,完成之后,需要创建一个git仓库; 3、然后可以根据我的截图顺序进行操作,可将idea项目上传至远程仓库” 4、那么远程仓库的地址就是在第一步,登录gi 阅读全文
posted @ 2021-10-22 22:01 看看反馈 阅读(376) 评论(0) 推荐(0)
摘要:1:提交代码到gitlab时报下面错误。 阅读全文
posted @ 2021-10-22 21:49 看看反馈 阅读(111) 评论(0) 推荐(0)
摘要:场景在CentOS中安装gitlab时,需要配置SSH为开机启动。 所以需要检查和配置服务器上是否已经启动。 注: 博客:https://blog.csdn.net/badao_liumang_qizhi关注公众号霸道的程序猿获取编程相关电子书、教程推送与免费下载。 实现首先查看SSH是否安装 rp 阅读全文
posted @ 2021-10-21 22:54 看看反馈 阅读(479) 评论(0) 推荐(0)
摘要:解决方案: 打开git bash 进入到当前项目的root目录(cd "root content") 在控制台输入git commit -m "Initial Commit" 返回IDEA,重新push项目 阅读全文
posted @ 2021-09-12 20:46 看看反馈 阅读(486) 评论(0) 推荐(0)
摘要:1:切换到bin cd /opt/gitlab/bin 2:执行gitlab-rails console -e production 3:在irb(main):001:0> 后面通过 u=User.where(id:1).first 来查找与切换账号(User.all 可以查看所有用户) 4:通过u 阅读全文
posted @ 2021-09-11 17:23 看看反馈 阅读(1273) 评论(0) 推荐(0)
摘要:#!/bin/bash # # postfix Postfix Mail Transger Agent # # chkconfig: 2345 80 30 # description: Postfix is a Mail Transport Agent, which is the program t 阅读全文
posted @ 2021-09-11 16:39 看看反馈 阅读(94) 评论(0) 推荐(0)
摘要:1:先下载安装文件https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/ubuntu/pool/bionic/main/g/gitlab-ce/ 2:上传文件 3:安装 1)先安装依赖 yum -y install policycoreutils openss 阅读全文
posted @ 2021-09-11 15:38 看看反馈 阅读(230) 评论(0) 推荐(0)