Pro Git 2nd Edition 2.1.413Behavior Repository Locations Pathspecs Committing Networking Diffing and Merging Debugging Miscellaneous Summary Appendix A: Git in Other Environments Graphical Interfaces gitk and git-gui GitHub libcurl4-gnutls-dev libexpat1-dev \ gettext libz-dev libssl-dev In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required: $ sudo dnf temporary files. You may also include a log, tmp, or pid directory; automatically generated documentation; and so on. Setting up a .gitignore file for your new repository before you get going is generally0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Behavior Repository Locations Pathspecs Committing Networking Diffing and Merging Debugging Miscellaneous Summary Appendix A: Git in Other Environments Graphical Interfaces gitk and git-gui GitHub libcurl4-gnutls-dev libexpat1-dev \ gettext libz-dev libssl-dev In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required: $ sudo dnf temporary files. You may also include a log, tmp, or pid directory; automatically generated documentation; and so on. Setting up a .gitignore file for your new repository before you get going is generally0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413libcurl4-gnutls-dev libexpat1-dev \ gettext libz-dev libssl-dev In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required: $ sudo dnf temporary files. You may also include a log, tmp, or pid directory; automatically generated documentation; and so on. Setting up a .gitignore file for your new repository before you get going is generally merge rules, and other things that match branch names. • Update references to the old branch in documentation. • Close or merge any pull requests that target the old branch. After you’ve done all these0 码力 | 501 页 | 17.96 MB | 1 年前3
Gitea v1.21.1 中文文档:如果设置为 1,在 Windows 上不会以 service 的形式运行。 环境变量清单 Go 的配置 Gitea 的文件目录 操作系统配置 仅限于 Windows 的配置 Miscellaneous 环境变量清单 - 71 - 本文档使用 书栈网 · BookStack.CN 构建 当前中文文档翻译不是最新版,访问英文版本查看最新内容,或帮助我们翻译 Gitea 已经实现了 在启用HTTPS之前,确保您拥有有效的SSL/TLS证书。 建议在测试和评估情况下使用自签名证书,请运行 gitea cert --host [HOST] 以生成自签名证书 如果您在服务器上使用阿帕奇(Apache)或Nginx,建议参考 反向代理指南。 要使用Gitea内置HTTPS支持,您必须编辑 app.ini 文件。 1. [server] 2. PROTOCOL = https 3. com 要了解关于配置, 请访问 配置备忘单获取更多信息 按照 reverse proxy guide 的规则设置你的反向代理服务器 然后,按照下面的向导启用 HTTPS: nginx apache2/httpd caddy 注意:仅在代理层启用 HTTPS 被称为 TLS 终止代理。代理服务器接受传入的 TLS 连接,解密内容,然后将现在 未加密的内容传递给 Gitea。只要代理和0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66这条命令会在你通过 SSH 向版本库推送之后被执行;然后别人就 可以通过类似下面的命令来克隆: $ git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使用任何静态 Web 服务器 —— 只 需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 在完成以上简单的安装步骤后, 我们将用 Apache 来作为 CGI 服务器。 如果你没有安装 Apache,你可以在 Linux 环境下执行如下或类似的命令来安装: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块都是使该功能正常工作所必须 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作为 Web 服务器对 /git 路径请 求的处理器。 SetEnv0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66条命令会在你通过 SSH 向版本库推送之后被执行;然后别人就可以通过类似 下面的命令来克隆: $ git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使 用任何静态 Web 服务器 —— 只需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 在完成以上简单的安装步骤后, 我们将用 Apache 来作为 CGI 服务器。 如果 你没有安装 Apache,你可以在 Linux 环境下执行如下或类似的命令来安装: $ sudo apt-get install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache 实例默认会以该用户的权限运 行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作 为 Web 服务器对 /git 路径请求的处理器。 SetEnv0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













