Gitea v1.21.1 中文文档然后将以下内容粘贴到名为 docker-compose.yml 的文件中: 1. version: "2" 2. 3. services: 4. server: 5. image: gitea/gitea:1.21.1-rootless 6. restart: always 7. volumes: 8. - ./data:/var/lib/gitea 要将集成的SSH和Web服务器绑定到不同的端口,请调整端口部分。通常只需更改主机端口并保持容器内的端口不变。 1. version: "2" 2. 3. services: 4. server: 5. image: gitea/gitea:1.21.1-rootless 6. restart: always 7. volumes: 8. - ./data:/var/lib/gitea 数据库结合使用,请对上面创建的 docker-compose.yml 文件进行以下更改。 1. version: "2" 2. 3. services: 4. server: 5. image: gitea/gitea:1.21.1-rootless 6. + environment: 7. + - GITEA__database__DB_TYPE=mysql 80 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413of file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (VCS) is a very wise Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag will stay the same the daemon won’t serve a repository without that file in it — but, other than that, there is no security. Either the Git repository is available for everyone to clone, or it isn’t. This means that there0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413of file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (VCS) is a very wise pull request #89 from schacon/appendix- final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag will stay the same the daemon won’t serve a repository without that file in it — but, other than that, there is no security. Either the Git repository is available for everyone to clone, or it isn’t. This means that there0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (VCS) is a very wise pull request #89 from schacon/appendix- final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag will stay the same the daemon won’t serve a repository without that file in it — but, other than that, there is no security. Either the Git repository is available for everyone to clone, or it isn’t. This means that there0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变化, 但你的新提交将不属于任 何分支,并且将无法访问,除非通过确切的提交哈希才能访问。 因此,如果你需要进行更改,比如你要修复旧 会要求你用两种不同的 验证方法,这样,即使其中一个被攻破,攻击者也不能访问你的账户。 你可以在 Account settings 页面的 Security 标签页中找到 Two-factor Authentication 设置。 168 图表 88. Security 标签页中的 2FA 点击“Set up two-factor authentication”按钮,会跳转到设置页面。该页面允许你选择是要在登录时使用手 F3119B9A gpg: Good signature from "Junio C Hamano" gpg: aka "[jpeg image of size 1513]" Primary key fingerprint: 3565 2A26 2040 E066 C9A7 4A7D C0C6 D9A4 F311 9B9A 如果没有签 0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66pull request #89 from schacon/appendix- final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变 化, 但你的新提交将不属于任何分支,并且将无法访问,除非通过确切的提 交哈希才能访问。 因此,如果你需要进行更改,比如你要修复旧版本中的错 会要求你用两种不同的验证方法,这 样,即使其中一个被攻破,攻击者也不能访问你的账户。 你 可 以 在 Account settings 页 面 的 Security 标 签 页 中 找 到 Two-factor Authentication 设置。 图表 88. Security 标签页中的 2FA 点击“Set up two-factor authentication”按钮,会跳转到设置页面。该页面 允许你选择是要在登录时使用手机 F3119B9A gpg: Good signature from "Junio C Hamano" gpg: aka "[jpeg image of size 1513]" Primary key fingerprint: 3565 2A26 2040 E066 C9A7 4A7D C0C6 D9A4 F311 9B9A 如果没有签 0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













