GitLab、Tortoise Dev Log

〇、注

一、安装
Git
TortoiseGit
二、使用问题

1.GitLab :A default branch (e.g. master) does not yet exist for /
问题原因:GitLab 项目权限设置错误
解决方法:在GitLab中改成最高权限即可
2.remote: GitLab: You are not allowed to push code to protected branches on this project.
GitLab、Tortoise Dev Log_第1张图片解决方案:
1.Reponsitory->Branches->
GitLab、Tortoise Dev Log_第2张图片Protected branches can be managed in project settings.
Project Settings->Protected Branches->Expand->
GitLab、Tortoise Dev Log_第3张图片3.Locking support detected on remote “origin”. Consider enabling it with:
$ git config lfs..git/info/lfs.locksverify true

GitLab、Tortoise Dev Log_第4张图片3.fatal : unable to access ‘respository url’ : SSL certificate problem: certificate has expiredGitLab、Tortoise Dev Log_第5张图片

TortoiseGit->Settings->Git->Edit global .gitconfig->

[http]
	sslVerify = false

4.Another git process seems to be running in this repository, e.g. Git…
删除index.lock文件

你可能感兴趣的:(Unity,3D与编程语言,git)