gitlab upload problems encountered

Problem Description

Because when I changed the configuration of the installation, so it appears the following issues

'''1、可以更改gitlab访问的地址和端口号'''
[root@linux-node2 ~]# vim /etc/gitlab/gitlab.rb
external_url 'http://gitlab.example.com'

'''2、更换gitlab拉取代码的URL'''
[root@linux-node2 ~]# vim /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 
gitlab:
    # 修改拉取代码的url地址
    host: 192.168.56.12
    port: 80
    https: false

Here Insert Picture Description
Here Insert Picture Description

Both addresses are not the same, so do not go up to upload

I modified this, so the code when uploading reported many wrong, wrong is the last one

E:\bigtrain\django_test>git push -u origin master
Username for 'http://192.168.220.135': root
Password for 'http://[email protected]':
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://192.168.220.135/lxpdemo/vuedemo.git/'

Solutions are as follows

https://blog.csdn.net/wangshu_liang/article/details/89360094

Here Insert Picture Description

Published 84 original articles · won praise 1 · views 2087

Guess you like

Origin blog.csdn.net/lxp_mocheng/article/details/103824194