天天看點

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.:開發人員權限不夠