Git
git
lzw~
这个作者很懒,什么都没留下…
展开
-
SSL certificate problem
把SSL验证关闭: git config --global http.sslVerify false原创 2021-08-12 22:37:19 · 90 阅读 · 0 评论 -
第一次使用gitlab登陆网页没有提示更改密码
进入 GitLab 控制台 gitlab-rails console -e production 执行命令: user = User.where(id: 1).first,此 user 则表示 root 用户 执行命令:user.password = 'secret_pass’修改密码, user.password_confirmation = ‘secret_pass’ 确认密码 执行命令: user.save! 执行命令: exit https://blog.csdn.net/A___LEi/artic原创 2021-08-08 19:22:44 · 2598 阅读 · 0 评论 -
解决git push时出现的Failed to connect to github.com port 443: Timed out问题
这种情况下,可以修改仓库的URL地址,格式是https://username:password@github.com/…原创 2021-06-28 00:18:37 · 565 阅读 · 0 评论 -
Git学习笔记之(二):版本回退
第一步:在当前文件夹下创建一个 .git git init. 第二步 git add . 第三步 git commit -m 'update' 第四步:回退代码 git checkout -- server.c原创 2020-04-03 01:41:56 · 63 阅读 · 0 评论 -
Git学习笔记之(一):提交代码
git add git commit -m 'update' git push原创 2020-04-03 01:37:44 · 82 阅读 · 0 评论