Gitea v1.21.1 中文文档
工单与合并请求模板 自动链接引用 合并消息模板 推送 克隆过滤器 (部分克隆) Code Owners Webhooks 受保护的标签 仓库镜像 密钥管理 Multi-factor Authentication (MFA) 开发 玩转 Gitea API 使用指南 OAuth2 提供者 迁移界面 集成 贡献 后端开发指南 前端开发指南 重构指南 本地化 帮助 常见问题 (MySQL)或 postgres (PostgreSQL)数据库超级用户。以下步骤假设您在数据库和 Gitea 服务器上都使用 Linux。 1. 对于远程数据库设置,您需要让 MySQL 监听您的 IP 地址。编辑数据库实例上的 /etc/mysql/my.cnf 文件 中的 bind-address 选项为: 1. bind-address = 203.0.113.3 2. 在数据库实例上,使用 old_passwords=0; 2. CREATE USER 'gitea'@'192.0.2.10' IDENTIFIED BY 'gitea'; 其中 192.0.2.10 是您的 Gitea 实例的 IP 地址。 根据需要替换上述用户名和密码。 数据库准备 MySQL/MariaDB 数据库准备 - 13 - 本文档使用 书栈网 · BookStack.CN 构建 4. 使用 UTF-80 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 2nd Edition 2.1.413
GitHub Account Setup and Configuration SSH Access Your Avatar Your Email Addresses Two Factor Authentication Contributing to a Project Forking Projects The GitHub Flow Advanced Pull Requests GitHub to use GitHub will help you take part in a huge community, which is valuable no matter which Git host you decide to use for your own code. The other large change in the time since the last publishing interactively -e, --edit edit current diff and apply -f, --force allow adding otherwise ignored files -u, --update update tracked files --renormalize0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
GitHub Account Setup and Configuration SSH Access Your Avatar Your Email Addresses Two Factor Authentication Contributing to a Project Forking Projects The GitHub Flow Advanced Pull Requests GitHub to use GitHub will help you take part in a huge community, which is valuable no matter which Git host you decide to use for your own code. The other large change in the time since the last publishing interactively -e, --edit edit current diff and apply -f, --force allow adding otherwise ignored files -u, --update update tracked files --renormalize0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 2nd Edition 2.1.413
to use GitHub will help you take part in a huge community, which is valuable no matter which Git host you decide to use for your own code. The other large change in the time since the last publishing interactively -e, --edit edit current diff and apply -f, --force allow adding otherwise ignored files -u, --update update tracked files --renormalize check if - even missing - files are ignored in dry run --sparse allow updating entries outside of the sparse-checkout cone --chmod (+|-)x override the0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
hunks interactively -e, --edit edit current diff and apply -f, --force allow adding otherwise ignored files -u, --update update tracked files --renormalize unmerged new paths 51a94af - Fix "checkout --track -b newbranch" on detached HEAD b0ad11e - pull: allow "git pull origin $something:$current_branch" into an unborn branch 在近 40000 条提交中,上面的输出仅列出了符合条件的 6 schacon@mylaptop.local 关于在多种操作系统中生成 SSH 密钥的更深入教程,请参阅 GitHub 的 SSH 密钥指南 https://docs.github.com/cn/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key- and-adding-it-to-the-ssh-agent。 配置服务器0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
hunks interactively -e, --edit edit current diff and apply -f, --force allow adding otherwise ignored files -u, --update update tracked files --renormalize unmerged new paths 51a94af - Fix "checkout --track -b newbranch" on detached HEAD b0ad11e - pull: allow "git pull origin $something:$current_branch" into an unborn branch 在近 40000 条提交中,上面的输出仅列出了符合条件的 schacon@mylaptop.local 关于在多种操作系统中生成 SSH 密钥的更深入教程,请参阅 GitHub 的 SSH 密 钥 指 南 https://docs.github.com/cn/authentication/connecting-to- github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh- agent。 配置服务器0 码力 | 670 页 | 13.59 MB | 1 年前3git 操作手册
★客户端使用ssh密钥登录gitlab 编辑ssh的客户端配置文件,使用ssh登录gitlab.cof-lee.com主机时,指定用户名 及ssh私钥 # vi ~/.ssh/config Host gitlab.cof-lee.com Iden�tyFile ~/cof-sshkey User cof Iden�tyAgent none # ssh git@gitlab (6/6), done. ★配置webhook自动化触发功能 首先配置允许向本地网络(私有网段地址)发送webhook通知,如果不配置则 会报错: 管理员用户登录,点击设置: 勾选“Allow requests to the local network from webhooks and integra�ons” 点击“保存” 然后普通用户就可在自己的项目里配置“WebHook”功能了0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1