Pro Git 2nd Edition 2.1.413StandardOutput=syslog StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target You might have noticed that Git daemon is started here with git as both group and user either of the -p or --show-function options: $ git grep -p gmtime_r *.c date.c=static int match_multi_number(timestamp_t num, char c, const char *date, date.c: if (gmtime_r(&now, &now_tm)) date match_digit() may have clobbered it */ As you can see, the gmtime_r routine is called from both the match_multi_number and match_digit functions in the date.c file (the third match displayed represents just the0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413StandardOutput=syslog StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target You might have noticed that Git daemon is started here with git as both group and user either of the -p or --show-function options: $ git grep -p gmtime_r *.c date.c=static int match_multi_number(timestamp_t num, char c, const char *date, date.c: if (gmtime_r(&now, &now_tm)) date match_digit() may have clobbered it */ As you can see, the gmtime_r routine is called from both the match_multi_number and match_digit functions in the date.c file (the third match displayed represents just the0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 StandardOutput=syslog StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target You might have noticed that Git daemon is started here with git as both group and user either of the -p or --show-function options: $ git grep -p gmtime_r *.c date.c=static int match_multi_number(timestamp_t num, char c, const char *date, date.c: if (gmtime_r(&now, &now_tm)) date match_digit() may have clobbered it */ As you can see, the gmtime_r routine is called from both the match_multi_number and match_digit functions in the date.c file (the third match displayed represents just the0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66StandardOutput=syslog StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target 你可能会注意这里以 git 启动的 Git 驻留程序同时使用了 Group 和 User 权限。 按需修改它并确保提供的用户 在此系统上。此外,请确保 Git 二进制文件位于 --show-function 选项来显示每一个匹配的字符串 所在的方法或函数: 239 $ git grep -p gmtime_r *.c date.c=static int match_multi_number(timestamp_t num, char c, const char *date, date.c: if (gmtime_r(&now, &now_tm)) date *offset) date.c: /* gmtime_r() in match_digit() may have clobbered it */ 如你所见,date.c 文件中的 match_multi_number 和 match_digit 两个函数都调用了 gmtime_r 例程 (第 三个显示的匹配只是注释中的字符串)。 你还可以使用 --and 标志来查看复杂的字符串组合,它确保了多个匹配出现在同一文本行中。0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66StandardOutput=syslog StandardError=syslog SyslogIdentifier=git-daemon User=git Group=git [Install] WantedBy=multi-user.target 你可能会注意这里以 git 启动的 Git 驻留程序同时使用了 Group 和 User 权 限。 按需修改它并确保提供的用户在此系统上。此外,请确保 Git 二进制文件 -p 或 --show-function 选 项来显示每一个匹配的字符串所在的方法或函数: $ git grep -p gmtime_r *.c date.c=static int match_multi_number(timestamp_t num, char c, const char *date, date.c: if (gmtime_r(&now, &now_tm)) date *offset) date.c: /* gmtime_r() in match_digit() may have clobbered it */ 如你所见,date.c 文件中的 match_multi_number 和 match_digit 两个函数都 调用了 gmtime_r 例程 (第三个显示的匹配只是注释中的字符串)。 你还可以使用 --and 标志来查看复杂的字符串组合,它确保了多个匹配出现在0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档权限 模板仓库 工单与合并请求模板 自动链接引用 合并消息模板 推送 克隆过滤器 (部分克隆) Code Owners Webhooks 受保护的标签 仓库镜像 密钥管理 Multi-factor Authentication (MFA) 开发 玩转 Gitea API 使用指南 OAuth2 提供者 迁移界面 集成 贡献 后端开发指南 前端开发指南 重构指南 权限 模板仓库 工单与合并请求模板 自动链接引用 合并消息模板 推送 克隆过滤器 (部分克隆) Code Owners Webhooks 受保护的标签 仓库镜像 密钥管理 Multi-factor Authentication (MFA) 使用 - 147 - 本文档使用 书栈网 · BookStack.CN 构建 Gitea Actions 快速入门 Act Runner 织级别的密钥与仓库级别的 密钥具有相同的名称,则仓库级别的密钥将优先生效。 密钥管理 设置密钥名称 密钥管理 - 265 - 本文档使用 书栈网 · BookStack.CN 构建 Multi-factor Authentication (also referred to as MFA or 2FA) enhances security by requiring a time-sensitive0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













