Pro Git 2nd Edition 2.1.413Rebase vs. Merge Summary Git on the Server The Protocols Local Protocol The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting the Bare Repository on a Server Small Packfiles The Refspec Pushing Refspecs Deleting References Transfer Protocols The Dumb Protocol The Smart Protocol Protocols Summary Maintenance and Data Recovery Maintenance Data Recovery Removing large change in the time since the last publishing has been the development and rise of the HTTP protocol for Git network transactions. Most of the examples in the book have been changed to HTTP from0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Rebase vs. Merge Summary Git on the Server The Protocols Local Protocol The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting the Bare Repository on a Server Small Packfiles The Refspec Pushing Refspecs Deleting References Transfer Protocols The Dumb Protocol The Smart Protocol Protocols Summary Maintenance and Data Recovery Maintenance Data Recovery Removing large change in the time since the last publishing has been the development and rise of the HTTP protocol for Git network transactions. Most of the examples in the book have been changed to HTTP from0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413large change in the time since the last publishing has been the development and rise of the HTTP protocol for Git network transactions. Most of the examples in the book have been changed to HTTP from SSH don’t mean to. To deal with this issue, programmers long ago developed local VCSs that had a simple database that kept all the changes to files under revision control. 10 Figure 1. Local version control collaborate at all or save versioned changes to anything they’re working on. If the hard disk the central database is on becomes corrupted, and proper backups haven’t been kept, you lose absolutely everything —0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66HTTP 协议,SSH(Secure Shell)协议及 Git 协议。 在此,我们将会讨论那些协议及哪些情形应该使用(或避免使用)他们。 本地协议 最基本的就是 本地协议(Local protocol) ,其中的远程版本库就是同一主机上的另一个目录。 这常见于团队 每一个成员都对一个共享的文件系统(例如一个挂载的 NFS)拥有访问权,或者比较少见的多人共用同一台电脑 的情况。 后者并不理想 尝试寻找一个服务器的凭证时就会被调用。 $ git credential fill ① protocol=https ② host=mygithost ③ protocol=https ④ host=mygithost username=bob password=s3cre7 $ git credential fill ⑤ protocol=https host=unknownhost Username for for 'https://unknownhost': bob Password for 'https://bob@unknownhost': protocol=https host=unknownhost username=bob password=s3cre7 ① 这是开始交互的命令。 ② Git-credential 接下来会等待标准输入。 我们提供我们所知道的信息:协议和主机名。 ③ 一个空0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66P 协议, SSH(Secure Shell)协议及 Git 协议。 在此,我们将会讨论那些协议及哪些 情形应该使用(或避免使用)他们。 本地协议 最基本的就是 本地协议(Local protocol) ,其中的远程版本库就是同一主 机上的另一个目录。 这常见于团队每一个成员都对一个共享的文件系统(例 如一个挂载的 NFS)拥有访问权,或者比较少见的多人共用同一台电脑的情 况。 后者 尝试寻找一个服务器的凭证时就会被调用。 $ git credential fill ① protocol=https ② host=mygithost ③ protocol=https ④ host=mygithost ① ② ③ ④ ⑤ ▪ username=bob password=s3cre7 $ git credential fill ⑤ protocol=https host=unknownhost Username Username for 'https://unknownhost': bob Password for 'https://bob@unknownhost': protocol=https host=unknownhost username=bob password=s3cre7 这是开始交互的命令。 Git-credential 接下来会等待标准输入。 我们提供我们所知道的信息:协议和主机名。0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档Plane 之外的所有 Unicode 字符(包括表情符号)。排序规则根据您预期的内 容选择。如果不确定,可以使用 unicode_ci 或 general_ci 。 1. CREATE DATABASE giteadb CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; 根据需要替换数据库名称。 5. 将数据库上的所有权限授予上述创建的数据库用户。 字符集创建数据库,并由之前创建的数据库用户拥有。可以根据预期内容使用任何 libc 排序 规则,使用 LC_COLLATE 和 LC_CTYPE 参数指定: 1. CREATE DATABASE giteadb WITH OWNER gitea TEMPLATE template0 ENCODING UTF8 LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US ssl_cert_file = '/path/to/postgresql.crt' 4. ssl_key_file = '/path/to/postgresql.key' 5. ssl_min_protocol_version = 'TLSv1.2' 3. 根据 PostgreSQL 的要求,调整凭据的所有权和权限: 1. chown postgres:postgres /path/to/root0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













