CentOS下搭建使用gitlab 和tortoiseGit使用
2024-10-15 13:06:26
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 ) ( ms @ // ::)
如果有朋友知道,请告知
后面改成http://192.168.1.38/bazhusanguo/bazhusanguo.git
但是遇到一个问题是每次都要输入用户和密码
各种google和度娘
最后找到了在用户根目录新建一个
crimoon-@CRIMOON--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
最新文章
- ASP.NET MVC开发:Web项目开发必备知识点
- C++_系列自学课程_第_7_课_数组_《C++ Primer 第四版》
- Centos6.4 本地yum源配置
- 阿里云服务器Linux CentOS安装配置(七)域名解析
- MFC抓网页
- 【BZOJ-1076】奖励关 概率与期望 + 状态压缩DP
- SZ,RZ传送文件
- JS 字符串编码函数(解决URL特殊字符传递问题):escape()、encodeURI()、encodeURIComponent()区别详解
- vim制作c的IDE
- Guice学习(一)
- 修改cookie
- 解决VMware虚拟机不能上网的问题
- 关于FusionCharts图表宽度width的设置问题导致图表显示异常的解决办法
- DOM节点的创建
- jquery中数组对象下面的属性名名是动态的如何获取
- python_ 基本语法
- Eclipse Memory Analyzer
- element table 二次封装 父子组件传值 组件通信
- k8s定义Deployment,和service
- javascript的Mixins