首页 > 其他 > 详细

中局域网LAN中建立局域网可访问的类GitHub的服务器

时间:2015-02-11 18:10:57      阅读:277      评论:0      收藏:0      [点我收藏+]

There are several ways to do this

  1. Host internal repositories like Gitlab (free software) or Stash. This will be similar to services like BitBucket or GitHub
  2. If you want to have a simple service with SSH authentication - user3159253 has already answered that
  3. A very bare bones way is
    1. Create a bare repository - example git init . --bare
    2. Start the git daemon - example git daemon --base-path=<absolute full path to git repo
    3. Add that repo as git remote add RepoName git://your.local.host.name/myrepo or clone git clone git://your.local.host.name/myrepo/

中局域网LAN中建立局域网可访问的类GitHub的服务器

原文:http://www.cnblogs.com/welhzh/p/4286471.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!