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

最新文章

  1. ASP.NET MVC开发:Web项目开发必备知识点
  2. C++_系列自学课程_第_7_课_数组_《C++ Primer 第四版》
  3. Centos6.4 本地yum源配置
  4. 阿里云服务器Linux CentOS安装配置(七)域名解析
  5. MFC抓网页
  6. 【BZOJ-1076】奖励关 概率与期望 + 状态压缩DP
  7. SZ,RZ传送文件
  8. JS 字符串编码函数(解决URL特殊字符传递问题):escape()、encodeURI()、encodeURIComponent()区别详解
  9. vim制作c的IDE
  10. Guice学习(一)
  11. 修改cookie
  12. 解决VMware虚拟机不能上网的问题
  13. 关于FusionCharts图表宽度width的设置问题导致图表显示异常的解决办法
  14. DOM节点的创建
  15. jquery中数组对象下面的属性名名是动态的如何获取
  16. python_ 基本语法
  17. Eclipse Memory Analyzer
  18. element table 二次封装 父子组件传值 组件通信
  19. k8s定义Deployment,和service
  20. javascript的Mixins

热门文章

  1. SQL常见笔试面试题
  2. python代码中使用settings
  3. In-App Purchases验证
  4. mysql lower,upper实现大小写
  5. Greedy:Yogurt factory(POJ 2393)
  6. 教官的游戏(codevs 2793)
  7. cVim—Chrome上更强大的vim插件
  8. C语言中的break、continue和goto三者的区别与用法
  9. 一、HTML和CSS基础--网页布局--实践--固定层效果
  10. ASP.NET MVC那些事