Gitea v1.21.1 中文文档4. # 使用自定义的配置文件 values.yaml 5. helm install gitea -f values.yaml gitea/gitea Gitea 附带了一个运行状况检查接口 /api/healthz ,你可以像这样在 Kubernetes 中配置它: 1. livenessProbe: 2. httpGet: 3. path: /api/healthz "status": "pass", 10. "time": "2022-02-19T09:16:08Z" 使用 Helm 在 Kubernetes 云原生环境中安装 Gitea 运行状况检查接口 在 Kubernetes 中安装 Gitea - 49 - 本文档使用 书栈网 · BookStack.CN 构建 11. } 12. ], 13. "database:ping": CN 构建 1. gitea [--config {file}] embedded extract [--destination {dir}|--custom] [--overwrite|--rename] [--include- vendored] {patterns...} --config 选项用于告知 Gitea app.ini 配置文件的位置(如果不在默认位置)。此选项仅在使用0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66熟练地处理多个远程分支和合作者贡献的补丁。 第六章 介绍 GitHub 托管服务以及深层次的工具。我们将涵盖注册与账户管理, 创建和使用 Git 仓库,贡献项目 的普通工作流以及接受他人的贡献,GitHub 的可编程接口和那些能够让你的生活变得更简单的小技巧。 第七章 关于 Git 的高级命令。你将学习到一些高级主题,诸如掌握可怕的“reset”命令, 使用二分搜索识别错 误,编辑历史,细节版本选择等等。本章的介绍将丰富你的 时哪些本地分支可以 与它跟踪的远程分支自动合并。 远程仓库的重命名与移除 你可以运行 git remote rename 来修改一个远程仓库的简写名。 例如,想要将 pb 重命名为 paul,可以用 git remote rename 这样做: $ git remote rename pb paul $ git remote origin paul 值得注意的是这同样也会修改你所有远程跟踪的分支名字。 Git 版本库、向已有项目贡 献的通用流程以及如何接受别人向你自己项目的贡献、GitHub 的编程接口和很多能够让这些操作更简单的小提 示。 如果你对如何使用 GitHub 托管自己的项目,或者与已经托管在 GitHub 上面的项目进行合作没有兴趣,可以直 接跳到 Git 工具 这一章。 接口的改变 需要注意一点,同很多活跃的网站一样,书中截取的界面会随时间而改变。 希望我们试图表 达的0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66熟练地处理多个远程分支和合作者贡献的补丁。 第六章 介绍 GitHub 托管服务以及深层次的工具。我们将涵盖注册与账户管 理, 创建和使用 Git 仓库,贡献项目的普通工作流以及接受他人的贡献, GitHub 的可编程接口和那些能够让你的生活变得更简单的小技巧。 第七章 关于 Git 的高级命令。你将学习到一些高级主题,诸如掌握可怕的 “reset”命令, 使用二分搜索识别错误,编辑历史,细节版本选择等等。本章 时哪些本地分支可以与它跟踪的 远程分支自动合并。 远程仓库的重命名与移除 你可以运行 git remote rename 来修改一个远程仓库的简写名。 例如,想要 将 pb 重命名为 paul,可以用 git remote rename 这样做: $ git remote rename pb paul $ git remote origin paul 值得注意的是这同样也会修改你所有远程跟踪的分支名字。 你现在能自如地使用 Git 为项目做出贡献、维护自己的项目或采纳其他用户的 贡献了。 恭喜你成为了一个高效的 Git 开发者! 下一章中,你将会学到如何 使用规模最大最流行的 Git 托管服务,GitHub。 接口的改变 GITHUB GitHub 是最大的 Git 版本库托管商,是成千上万的开发者和项目能够合作进 行的中心。 大部分 Git 版本库都托管在 GitHub,很多开源项目使用 GitHub0 码力 | 670 页 | 13.59 MB | 1 年前3
Pro Git 2nd Edition 2.1.413with a ~. Moving Files Unlike many other VCSs, Git doesn’t explicitly track file movement. If you rename a file in Git, no metadata is stored in Git that tells it you renamed the file. However, Git is file movement a bit later. Thus it’s a bit confusing that Git has a mv command. If you want to rename a file in Git, you can run something like: $ git mv file_from file_to and it works fine. In fact md README $ git rm README.md $ git add README Git figures out that it’s a rename implicitly, so it doesn’t matter if you rename a file that way or with the mv command. The only real difference is that0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413with a ~. Moving Files Unlike many other VCSs, Git doesn’t explicitly track file movement. If you rename a file in Git, no metadata is stored in Git that tells it you renamed the file. However, Git is detecting file movement a bit later. Thus it’s a bit confusing that Git has a mv command. If you want to rename a file in Git, you can run something like: $ git mv file_from file_to and it works fine. In fact README 39 $ git rm README.md $ git add README Git figures out that it’s a rename implicitly, so it doesn’t matter if you rename a file that way or with the mv command. The only real difference is that0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 with a ~. Moving Files Unlike many other VCSs, Git doesn’t explicitly track file movement. If you rename a file in Git, no metadata is stored in Git that tells it you renamed the file. However, Git is file movement a bit later. Thus it’s a bit confusing that Git has a mv command. If you want to rename a file in Git, you can run something like: $ git mv file_from file_to and it works fine. In fact md README $ git rm README.md $ git add README Git figures out that it’s a rename implicitly, so it doesn’t matter if you rename a file that way or with the mv command. The only real difference is that0 码力 | 691 页 | 13.35 MB | 1 年前3
共 6 条
- 1













