CentOS下搭建使用gitlab 和tortoiseGit使用

简介: gitlab和github 一样很爽的一个东西 关于gitlab在CentOS下的安装方法地址参考: https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos 这个折腾了好一会 tortoiseGit下载的地址 http://code.

gitlab和github 一样很爽的一个东西

关于gitlab在CentOS下的安装方法地址参考:

https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos

这个折腾了好一会

tortoiseGit下载的地址

http://code.google.com/p/tortoisegit/wiki/Download 

msysGit 所在的网址:http://code.google.com/p/msysgit/

接下来的就是这个折腾了

发现git@192.168.1.38:bazhusanguo/bazhusanguo.git 这种方式,各种的不行

git.exe clone      --progress -v  "git@192.168.1.38:bazhusanguo/bazhusanguo.git" "D:\360Downloads\bazhusanguo"

Cloning into 'D:\360Downloads\bazhusanguo'...
Access denied.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


git did not exit cleanly (exit code 128) (21185 ms @ 2014/3/20 14:24:17)

如果有朋友知道,请告知

后面改成http://192.168.1.38/bazhusanguo/bazhusanguo.git

但是遇到一个问题是每次都要输入用户和密码

各种google和度娘

最后找到了在用户根目录新建一个

crimoon-008@CRIMOON-008-PC ~
$ pwd
/c/Users/crimoon-008
$vim _netrc
machine 192.168.1.38
login user
password pwd

这样就可以了

fatal: the remote end hung up unexpectedly

发生在push命令中,有可能是push的文件过大导致
解决方法:
windows:
在 .gitconfig 文件中加入
[http]
postBuffer = 524288000

linux:
git config http.postBuffer 524288000

 

 

 

目录
相关文章
|
11月前
|
Linux 网络安全 开发工具
如何在 Linux CentOS 8 中搭建 GitLab 私有仓库并结合 Cpolar 内网穿透工具实现公网访问私有仓库【无公网IP内网穿透】
如何在 Linux CentOS 8 中搭建 GitLab 私有仓库并结合 Cpolar 内网穿透工具实现公网访问私有仓库【无公网IP内网穿透】
|
12月前
|
Linux
百度搜索:蓝易云【如何在CentOS7上搭建自己的GitLab仓库详解?】
现在,您已经成功在CentOS 7上搭建了自己的GitLab仓库。通过GitLab,您可以托管和管理您的代码,并与团队成员协同开发。
281 0
|
3月前
|
缓存 Kubernetes Linux
CentOS 7上的GitLab Runner,让你的项目加速奔跑
CentOS 7上的GitLab Runner,让你的项目加速奔跑
265 1
|
4月前
|
Linux 网络安全 数据安全/隐私保护
centos7安装gitlab-ce社区版全过程,详细到爆炸,这些面试官常问的开发面试题你都掌握好了吗
centos7安装gitlab-ce社区版全过程,详细到爆炸,这些面试官常问的开发面试题你都掌握好了吗
|
4月前
|
Linux 数据安全/隐私保护 Docker
源码管理新征程:CentOS 7上GitLab安装全程解析
源码管理新征程:CentOS 7上GitLab安装全程解析
65 0
源码管理新征程:CentOS 7上GitLab安装全程解析
|
4月前
|
存储 Linux 网络安全
Git - Centos7下安装GitLab服务器
Git - Centos7下安装GitLab服务器
134 1
|
4月前
|
存储 安全 Linux
百度搜索:蓝易云【CentOS7环境:安装配置gitlab(适用于内网、外网环境)】
这些是在CentOS 7环境下安装和配置GitLab的基本步骤。根据您的需求和具体环境,可能还需要进行其他配置和调整。请确保在进行任何与网络连接和安全相关的操作之前,详细了解您的网络环境和安全需求,并采取适当的安全措施。
90 0
|
11月前
|
Linux 应用服务中间件 网络安全
Linux(centos 7.5)服务器安装Gitlab
Linux(centos 7.5)服务器安装Gitlab
152 0
|
Linux Shell 网络安全
CentOS7上使用GitLab搭建私有git代码仓库(超详细)(下)
CentOS7上使用GitLab搭建私有git代码仓库(超详细)(下)
197 1
|
Linux 网络安全 开发工具
CentOS7上使用GitLab搭建私有git代码仓库(超详细)(上)
CentOS7上使用GitLab搭建私有git代码仓库(超详细)(上)
398 0