-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate 04-git-server git-daemon #118
Conversation
If you're running this on a server outside your firewall, it should only be used for projects that are publicly visible to the world. | ||
If the server you're running it on is inside your firewall, you might use it for projects that a large number of people or computers (continuous integration or build servers) have read-only access to, when you don't want to have to add an SSH key for each. | ||
如果运行在防火墙之外的服务器上,它所提供的服务应该只是那些公开的只读项目。 | ||
如果是在防火墙之内的服务器上,可用于支撑大量参与人员或自动系统(用于持续集成或编译的主机)只读访问的项目,这样可以省去逐一配置 SSH 公钥的麻烦。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果是在防火墙之内的服务器上,可用于
如果运行在防火墙之内的服务器上,它可用于
@branchzero 已审校。 |
@networm 已修改。 |
@@ -61,4 +61,4 @@ $ cd /path/to/project.git | |||
$ touch git-daemon-export-ok | |||
---- | |||
|
|||
The presence of that file tells Git that it's OK to serve this project without authentication. | |||
该文件的存在将允许 Git 提供无需鉴权的项目访问服务。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里感觉不用非翻译出presence的意思,改成“该文件将允许……”
@branchzero 已完成 |
`--reuseaddr` allows the server to restart without waiting for old connections to time out, the `--base-path` option allows people to clone projects without specifying the entire path, and the path at the end tells the Git daemon where to look for repositories to export. | ||
If you're running a firewall, you'll also need to punch a hole in it at port 9418 on the box you're setting this up on. | ||
`--reuseaddr` 允许服务器在无需等待旧连接超时的情况下重启,`--base-path` 选项允许用户在未完全指定路径的条件下克隆项目,结尾的路径将告诉 Git 守护进程从何处寻找仓库并且导出。 | ||
如果有防火墙正在运行,你将需要在其之上开放端口 9418 的通信权限。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你将需要在其之上开放端口 9418 的通信权限。
=> 你需要开放端口 9418 的通信权限。
@branchzero 已审校 |
@IceNature @morefreeze 感谢提出意见,已经修正:) |
Translate 04-git-server git-daemon
No description provided.