Pro Git 2nd Edition 2.1.413. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Git Daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . won’t show up in your repository history. The obvious value to amending commits is to make minor improvements to your last commit, without cluttering your repository history with commit messages of the for others to fetch from. The Git Protocol Finally, we have the Git protocol. This is a special daemon that comes packaged with Git; it listens on a dedicated port (9418) that provides a service similar0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Repository on a Server Small Setups Generating Your SSH Public Key Setting Up the Server Git Daemon Smart HTTP GitWeb GitLab Installation Administration Basic Usage Working Together Third Party won’t show up in your repository history. The obvious value to amending commits is to make minor improvements to your last commit, without cluttering your repository history with commit messages of the for others to fetch from. The Git Protocol Finally, we have the Git protocol. This is a special daemon that comes packaged with Git; it listens on a dedicated port (9418) that provides a service similar0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Repository on a Server Small Setups Generating Your SSH Public Key Setting Up the Server Git Daemon Smart HTTP GitWeb GitLab Installation Administration Basic Usage Working Together Third Party won’t show up in your repository history. The obvious value to amending commits is to make minor improvements to your last commit, without cluttering your repository history with commit messages of the for others to fetch from. The Git Protocol Finally, we have the Git protocol. This is a special daemon that comes packaged with Git; it listens on a dedicated port (9418) that provides a service similar0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Git 协议。 这是包含在 Git 里的一个特殊的守护进程;它监听在一个特定的端口(9418),类似于 SSH 服务,但是访问无需任何授权。 要让版本库支持 Git 协议,需要先创建一个 git-daemon-export-ok 文件 —— 它是 Git 协议守护进程为这个版本库提供服务的必要条件 —— 但是除此之外没有任何安全措施。 要么谁都 可以克隆这个版本库,要么谁也不能。 这意味着,通常不能通过 (用于持续集成或编译的主机)只读访问的项目,这样可以省去逐 一配置 SSH 公钥的麻烦。 无论何时,该 Git 协议都是相对容易设定的。 通常,你只需要以守护进程的形式运行该命令: $ git daemon --reuseaddr --base-path=/srv/git/ /srv/git/ --reuseaddr 选项允许服务器在无需等待旧连接超时的情况下重启,而 --base-path 选项允许用户在未完全 是最常见的初始化系统,因此你可以用它来达到此目的。 只要在 /etc/systemd/system/git-daemon.service 中放一个文件即可,其内容如下: [Unit] Description=Start Git Daemon [Service] ExecStart=/usr/bin/git daemon --reuseaddr --base-path=/srv/git/ /srv/git/ Restart=always0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66协议。 这是包含在 Git 里的一个特殊的守护进程;它监听在一个特 定的端口(9418),类似于 SSH 服务,但是访问无需任何授权。 要让版本库 支持 Git 协议,需要先创建一个 git-daemon-export-ok 文件 —— 它是 Git 协 议守护进程为这个版本库提供服务的必要条件 —— 但是除此之外没有任何安 全措施。 要么谁都可以克隆这个版本库,要么谁也不能。 这意味着,通常不 (用于持续集成或编译的主机)只读访问的项目,这样可以省去逐一配置 SSH 公钥的麻烦。 无论何时,该 Git 协议都是相对容易设定的。 通常,你只需要以守护进程的形 式运行该命令: $ git daemon --reuseaddr --base-path=/srv/git/ /srv/git/ --reuseaddr 选项允许服务器在无需等待旧连接超时的情况下重启,而 -- base-path 是最常见的初始化系统,因此你可以 用它来达到此目的。 只要在 /etc/systemd/system/git-daemon.service 中放 一个文件即可,其内容如下: [Unit] Description=Start Git Daemon [Service] ExecStart=/usr/bin/git daemon --reuseaddr --base-path=/srv/git/ /srv/git/0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档runner 的新文件,该文件存储了注册信息。 请不要手动编辑该文件。 如 果该文件丢失或损坏,只需删除它然后重新注册即可。 最后,是时候启动Runner了: 1. ./act_runner daemon 您可以在管理页面上看到新的Runner: 您可以通过访问act runner 获取更多信息。 即使对于启用了Gitea实例的Actions,存储库仍默认禁用Actions。 要启用它,请转到存储库的设置页面,例如 文件,请参考 配置教程),通过执行 ./act_runner daemon --config config.yaml 命令重启 runner 之后,这些新 定义的标签就会生效。 注册完Runner后,您可以通过运行以下命令来运行它: 1. ./act_runner daemon 2. # or 3. ./act_runner daemon --config config.yaml Runne0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













