Gitea v1.21.1 中文文档
或更高版本。不过,建议获取与我们的持续集成(continuous integration, CI)相同的版本,请参阅在 Hacking on Gitea 中给出的建议。 首先,我们需要获取源码。由于引入了 Go 模块,最简单的方法是直接使用 Git,因为我们不再需要在 GOPATH 内 构建 Gitea。 1. git clone https://github.com/go-gitea/gitea (之前的版本中建议使用 。 sqlite sqlite_unlock_notify : 启用对 SQLite3 数据库的支持。仅建议在少数人使用时使用这个模式。 pam : 启用对 PAM( Linux 可插拔认证模块)的支持。可用于对本地用户进行身份验证或扩展身份验证到 PAM 可用的方法。 gogit :(实验性功能)使用 go-git 变体的 Git 命令。 将所有资源(JS/CSS/模板等)打包到二进制文件中。在生产环境部署时,使用 --log-file=... 进行设置。 有时,在迁移时,旧的列和默认值可能会在数据库模式中保持不变。这可能会导致警告,如下所示: 1. 2020/08/02 11:32:29 ...rm/session_schema.go:360:Sync() [W] Table user Column keep_activity_private db default is , struct default0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
通过路径来重置 压缩 检出 总结 高级合并 合并冲突 撤消合并 其他类型的合并 Rerere 使用 Git 调试 文件标注 二分查找 子模块 开始使用子模块 克隆含有子模块的项目 在包含子模块的项目上工作 子模块的技巧 子模块的问题 打包 替换 凭证存储 底层实现 自定义凭证缓存 总结 自定义 Git 配置 Git 客户端基本配置 Git 中的着色 外部的合并与比较工具 @Geno1024 @jeffsui 7.9 Rerere @networm @Geno1024 @IceNature @jeffsui 7.10 使用 Git 调试 @leo108 王波 7.11 子模块 @networm @IceNature @Geno1024 @OlingCat 7.12 打包 @networm @xff2016 @Geno1024 @IceNature 7.13 替换 @Gnahceg install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块 都是使该功能正常工作所必须的。 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache0 码力 | 670 页 | 13.59 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 子模块 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @Geno1024 @jeffsui 7.9 Rerere @networm @Geno1024 @IceNature @jeffsui 7.10 使用 Git 调试 @leo108 王波 7.11 子模块 @networm @IceNature @Geno1024 @OlingCat 7.12 打包 @networm @xff2016 @Geno1024 @IceNature 7.13 替换 @Gnahceg install apache2 apache2-utils $ a2enmod cgi alias env 该操作将会启用 mod_cgi, mod_alias 和 mod_env 等 Apache 模块, 这些模块都是使该功能正常工作所必须 的。 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行:0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 2nd Edition 2.1.413
of shell history, which emphasizes that what’s there is clearly relevant only for you and your “session”, and has nothing to do with anyone else who might be working on the same machine. When using message $ git commit --amend The command above loads the previous commit message into an editor session, where you can make changes to the message, save those changes and exit. When you save and close message is just fine, you can simply make the changes, stage them, and avoid the unnecessary editor session entirely with: $ git commit --amend --no-edit Changing Multiple Commit Messages To modify a commit0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
of shell history, which emphasizes that what’s there is clearly relevant only for you and your “session”, and has nothing to do with anyone else who might be working on the same machine. Escaping easy: $ git commit --amend The command above loads the previous commit message into an editor session, where you can make changes to the message, save those changes and exit. When you save and close message is just fine, you can simply make the changes, stage them, and avoid the unnecessary editor session entirely with: $ git commit --amend --no-edit Changing Multiple Commit Messages To modify a commit0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
of shell history, which emphasizes that what’s there is clearly relevant only for you and your “session”, and has nothing to do with anyone else who might be working on the same machine. When using easy: $ git commit --amend The command above loads the previous commit message into an editor session, where you can make changes to the message, save those changes and exit. When you save and close message is just fine, you can simply make the changes, stage them, and avoid the unnecessary editor session entirely with: $ git commit --amend --no-edit Changing Multiple Commit Messages To modify a commit0 码力 | 691 页 | 13.35 MB | 1 年前3
共 6 条
- 1