天天看点

gitlab首次连接

 git config --global user.name "xxx"

git config --global user.email "xxx"

git init

git remote add origin git http地址

git add .

git commit -m "项目文件夹"

git push -u origin master

ssh -T [email protected] 测试是否连通

remote: HTTP Basic: Access denied,fatal: Authentication failed for ‘git或gitlab地址’:

https://blog.csdn.net/qq_42817227/article/details/90669039

You are not allowed to push code to protected branches on this project.:开发人员权限不够