 Gitea v1.21.1 中文文档- 20 - 本文档使用 书栈网 · BookStack.CN 构建 手动配置数据库连接参数 使用 gitea generate secret 创建 SECRET_KEY 和 INTERNAL_TOKEN 提供所有必要的密钥 详情参考 命令行文档 中有关 gitea generate secret 的内容。 提示: 如果使用 Systemd 管理 Gitea 的 Linux SECRET_KEY 。 安装后请妥善保管 您的 SECRET_KEY ,如若丢失则无法解密已加密的数据。 以下命令将向 stdout 输出一个新的 SECRET_KEY 和 INTERNAL_TOKEN ,然后您可以将其放入环境变量中。 1. docker run -it --rm gitea/gitea:1 gitea generate secret SECRET_KEY 自定义 - 46 - 本文档使用 书栈网 · BookStack.CN 构建 2. docker run -it --rm gitea/gitea:1 gitea generate secret INTERNAL_TOKEN 1. ... 2. services: 3. server: 4. environment: 5. - GITEA__security__SECRET_KEY=[value0 码力 | 303 页 | 3.88 MB | 1 年前3 Gitea v1.21.1 中文文档- 20 - 本文档使用 书栈网 · BookStack.CN 构建 手动配置数据库连接参数 使用 gitea generate secret 创建 SECRET_KEY 和 INTERNAL_TOKEN 提供所有必要的密钥 详情参考 命令行文档 中有关 gitea generate secret 的内容。 提示: 如果使用 Systemd 管理 Gitea 的 Linux SECRET_KEY 。 安装后请妥善保管 您的 SECRET_KEY ,如若丢失则无法解密已加密的数据。 以下命令将向 stdout 输出一个新的 SECRET_KEY 和 INTERNAL_TOKEN ,然后您可以将其放入环境变量中。 1. docker run -it --rm gitea/gitea:1 gitea generate secret SECRET_KEY 自定义 - 46 - 本文档使用 书栈网 · BookStack.CN 构建 2. docker run -it --rm gitea/gitea:1 gitea generate secret INTERNAL_TOKEN 1. ... 2. services: 3. server: 4. environment: 5. - GITEA__security__SECRET_KEY=[value0 码力 | 303 页 | 3.88 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413servers and what remote branches for those remote projects look like, let’s assume you have another internal Git server that is used only for development by one of your sprint teams. This server is at git access to the “remote” directory, and there is nothing preventing them from changing or removing internal Git files and corrupting the repository. The HTTP Protocols Git can communicate over HTTP using If a project is Private, the project’s owner must explicitly grant access to specific users. An Internal project is visible to any logged-in user, and a Public project is visible to anyone. Note that0 码力 | 731 页 | 21.49 MB | 1 年前3 Pro Git 2nd Edition 2.1.413servers and what remote branches for those remote projects look like, let’s assume you have another internal Git server that is used only for development by one of your sprint teams. This server is at git access to the “remote” directory, and there is nothing preventing them from changing or removing internal Git files and corrupting the repository. The HTTP Protocols Git can communicate over HTTP using If a project is Private, the project’s owner must explicitly grant access to specific users. An Internal project is visible to any logged-in user, and a Public project is visible to anyone. Note that0 码力 | 731 页 | 21.49 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413servers and what remote branches for those remote projects look like, let’s assume you have another internal Git server that is used only for development by one of your sprint teams. This server is at git access to the “remote” directory, and there is nothing preventing them from changing or removing internal Git files and corrupting the repository. 106 The HTTP Protocols Git can communicate over HTTP If a project is Private, the project’s owner must explicitly grant access to specific users. An Internal project is visible to any logged-in user, and a Public project is visible to anyone. Note that0 码力 | 501 页 | 17.96 MB | 1 年前3 Pro Git 2nd Edition 2.1.413servers and what remote branches for those remote projects look like, let’s assume you have another internal Git server that is used only for development by one of your sprint teams. This server is at git access to the “remote” directory, and there is nothing preventing them from changing or removing internal Git files and corrupting the repository. 106 The HTTP Protocols Git can communicate over HTTP If a project is Private, the project’s owner must explicitly grant access to specific users. An Internal project is visible to any logged-in user, and a Public project is visible to anyone. Note that0 码力 | 501 页 | 17.96 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413 servers and what remote branches for those remote projects look like, let’s assume you have another internal Git server that is used only for development by one of your sprint teams. This server is at git access to the “remote” directory, and there is nothing preventing them from changing or removing internal Git files and corrupting the repository. The HTTP Protocols Git can communicate over HTTP using If a project is Private, the project’s owner must explicitly grant access to specific users. An Internal project is visible to any logged-in user, and a Public project is visible to anyone. Note that0 码力 | 691 页 | 13.35 MB | 1 年前3 Pro Git 2nd Edition 2.1.413 servers and what remote branches for those remote projects look like, let’s assume you have another internal Git server that is used only for development by one of your sprint teams. This server is at git access to the “remote” directory, and there is nothing preventing them from changing or removing internal Git files and corrupting the repository. The HTTP Protocols Git can communicate over HTTP using If a project is Private, the project’s owner must explicitly grant access to specific users. An Internal project is visible to any logged-in user, and a Public project is visible to anyone. Note that0 码力 | 691 页 | 13.35 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66b/src/db.c @@ -93,6 +93,11 @@ char *url_decode_mem(const char *url, int len) return url_decode_internal(&url, len, NULL, &out, 0); } +char *url_decode(const char *url) +{ + return url_decode_mem(url0 码力 | 501 页 | 19.30 MB | 1 年前3 Pro Git 中文版 第2版 2.1.66b/src/db.c @@ -93,6 +93,11 @@ char *url_decode_mem(const char *url, int len) return url_decode_internal(&url, len, NULL, &out, 0); } +char *url_decode(const char *url) +{ + return url_decode_mem(url0 码力 | 501 页 | 19.30 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66b/src/db.c @@ -93,6 +93,11 @@ char *url_decode_mem(const char *url, int len) return url_decode_internal(&url, len, NULL, &out, 0); } +char *url_decode(const char *url) +{ + return url_decode_mem(url0 码力 | 670 页 | 13.59 MB | 1 年前3 Pro Git 中文版 第2版 2.1.66b/src/db.c @@ -93,6 +93,11 @@ char *url_decode_mem(const char *url, int len) return url_decode_internal(&url, len, NULL, &out, 0); } +char *url_decode(const char *url) +{ + return url_decode_mem(url0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1














