开发者

Can I use git in local area network?

I want to use EGit in a small eclipse 开发者_C百科project with my colleagues, but we don't want to Submit the project to the github.com. What I should do with the next picture ? The ip address is 192.168.16.40 and the project is in D:\EclipseProjects\ForwardA.git.

How I should fill the URI,Host,Repository Path ?

Is the Authentiacation for the computer or git ?

Can I use git in local area network?


Yes, you can! Github is a common centralized repository that git enthusiasts use frequently, but it's by no means required to use git. You can even use git on a computer that has no Internet access whatsoever.

You have many options for setting up your git repository, but you probably want to pick a Unixy server that all of your colleagues have access to. From there, you have a few setup options, but the easiest way is to just pick a directory that they all have access to and stick a headless git repository at.

Here's a good resource on the subject: http://book.git-scm.com/4_setting_up_a_private_repository.html


You most definitely can, I'm not sure if you already have a git server set up with your friend.
If not you can follow this very handy tutorial I myself used:
Setting up a Msysgit Server with copSSH on Windows.

If you do have a server you will need:

  • the IP address of the computer the repository is on,
  • its path relative to the computer,
  • the SSH(or whatever protocol you use) port number and
  • the authentication.

The auth field should be the user on the Git server that has access to the git repo, I set it to admin in my example but I'm guessing anyone that has R/W access to the folder can manipulate it.

I'm going to throw a wild guess as to how to complete this form:

Can I use git in local area network?


Gitblit is an open-source, integrated, pure Java Git server, viewer, and repository manager for small workgroups. It works well on Windows and includes tools to run as a Windows service.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜