
gitlab
祈雨v
这个作者很懒,什么都没留下…
展开
-
gitlab(1)安装
1、文件准备gitlab-ce-10.6.3-ce.0.el7.x86_64.rpm 其他版本下载地址:清华大学镜像站2、安装其中EXTERNAL_URL的参数为所在Linux服务器的http80端口地址EXTERNAL_URL="http://192.168.100.14" yum localinstall gitlab-ce-10.6.3-ce.0.el7.x86_64....原创 2018-04-10 22:49:27 · 178 阅读 · 0 评论 -
git提交回滚
git reset --hard 36620egit push origin <branch> -f其中36620e就是你要回退的版本的commit id的前面6位。可能出现的问题现象$ git push origin master -fTotal 0 (delta 0), reused 0 (delta 0)remote: GitLab: You a...原创 2018-09-17 10:54:44 · 787 阅读 · 0 评论 -
删除本地git账号
问题git账号密码输入错误后,再次操作会自动使用上次输入错误的账号密码:remote: HTTP Basic: Access deniedfatal: Authentication failed for 'http://xxx.git/'解决设置清空git保存的账号密码并每次操作时强制输入账号密码,即git不自定保存账号密码git config --system --unset cr...原创 2018-12-10 14:23:30 · 10265 阅读 · 0 评论