Pro Git 2nd Edition 2.1.413
Branches Basic Branching and Merging Basic Branching Basic Merging Basic Merge Conflicts Branch Management Changing a branch name Branching Workflows Long-Running Branches Topic Branches Remote Branches 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. Figure 1. Local version control diagram 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 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Branch Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 年前3Pro Git 2nd Edition 2.1.413
Branches Basic Branching and Merging Basic Branching Basic Merging Basic Merge Conflicts Branch Management Changing a branch name Branching Workflows Long-Running Branches Topic Branches Remote Branches 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. Figure 1. Local version control diagram 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 everything0 码力 | 691 页 | 13.35 MB | 1 年前3Gitea 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 %COMPUTERNAME% 后得到的响应。如果响应是 USER-PC ,那么 RUN_USER = USER-PC$ 。 如果您使用 SQLite3,请将 PATH 更改为包含完整路径: 1. [database] 2. PATH = c:/gitea/data/gitea.db 要注册为Windows服务,首先以Administrator身份运行 cmd ,然后执行以下命令: 1.0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
假设你有一个数据库设置文件 database.xml, 在两个分支中它是不同的,而你想合并另一个分支到你的分支上,又不想弄乱该数据库文件。 你可以设置属性 如下: database.xml merge=ours 然后定义一个虚拟的合并策略,叫做 ours: $ git config --global merge.ours.driver true 如果你合并了另一个分支,database.xml 文件不会有合并冲突,相反会显示如下信息: 文件不会有合并冲突,相反会显示如下信息: $ git merge topic Auto-merging database.xml Merge made by recursive. 这里,database.xml 保持了主干分支中的原始版本。 Git 钩子 和其它版本控制系统一样,Git 能在特定的重要动作发生时触发自定义脚本。 有两组这样的钩子:客户端的和 服务器端的。 客户端钩子由诸如提交和0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
假设你有一个数据库设置文件 database.xml,在两个分支 中它是不同的,而你想合并另一个分支到你的分支上,又不想弄乱该数据库文 件。 你可以设置属性如下: database.xml merge=ours 然后定义一个虚拟的合并策略,叫做 ours: $ git config --global merge.ours.driver true 如果你合并了另一个分支,database.xml 文件不会有合并冲突,相反会显示 文件不会有合并冲突,相反会显示 如下信息: $ git merge topic Auto-merging database.xml Merge made by recursive. 这里,database.xml 保持了主干分支中的原始版本。 GIT 钩子 和其它版本控制系统一样,Git 能在特定的重要动作发生时触发自定义脚本。 有两组这样的钩子:客户端的和服务器端的。 客户端钩子由诸如提交和合并0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1