Pro Git 2nd Edition 2.1.413Option: filter-branch Reset Demystified The Three Trees The Workflow The Role of Reset Reset With a Path Squashing Check It Out Summary Advanced Merging Merge Conflicts Undoing Merges Other Types for several years by then, but this was the right turn that sent me down a much more interesting path than the one I was on. Now, years later, I’m a contributor to a major Git implementation, I’ve worked aspects of how Git looks and operates. These variables can be stored in three different places: 1. [path]/etc/gitconfig file: Contains values applied to every user on the system and all their repositories0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Option: filter-branch Reset Demystified The Three Trees The Workflow The Role of Reset Reset With a Path Squashing Check It Out Summary Advanced Merging Merge Conflicts Undoing Merges Other Types for several years by then, but this was the right turn that sent me down a much more interesting path than the one I was on. Now, years later, I’m a contributor to a major Git implementation, I’ve worked aspects of how Git looks and operates. These variables can be stored in three different places: 1. [path]/etc/gitconfig file: Contains values applied to every user on the system and all their repositories0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413for several years by then, but this was the right turn that sent me down a much more interesting path than the one I was on. Now, years later, I’m a contributor to a major Git implementation, I’ve worked aspects of how Git looks and operates. These variables can be stored in three different places: 1. [path]/etc/gitconfig file: Contains values applied to every user on the system and all their repositories git/config trump those in [path]/etc/gitconfig. On Windows systems, Git looks for the .gitconfig file in the $HOME directory (C:\Users\$USER for most people). It also still looks for [path]/etc/gitconfig, although0 码力 | 501 页 | 17.96 MB | 1 年前3
Gitea v1.21.1 中文文档在数据库实例所在的服务器上,放置以下凭据: /path/to/postgresql.crt : 数据库实例证书 /path/to/postgresql.key : 数据库实例私钥 /path/to/root.crt : 用于验证客户端证书的CA证书链 2. 在 postgresql.conf 中添加以下选项: 1. ssl = on 2. ssl_ca_file = '/path/to/root.crt' 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/root.crt crt /path/to/postgresql.crt /path/to/postgresql.key 2. chmod 0600 /path/to/root.crt /path/to/postgresql.crt /path/to/postgresql.key 4. 编辑 pg_hba.conf 规则,仅允许 Gitea 数据库用户通过SSL连接,并要求客户端证书验证。 使用 TLS 进行数据库连接0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66renormalize EOL of tracked files (implies -u) -N, --intent-to-add record only the fact that the path will be added later -A, --all add changes from all tracked and untracked files 了 mylibgit。 Git 支持多种数据传输协议。 上面的例子使用的是 https:// 协议,不过你也可以使用 git:// 协议或者使用 SSH 传输协议,比如 user@server:path/to/repo.git 。 在服务器上搭建 Git 将会介绍所有这些协议在服 务器端如何配置使用,以及各种方式之间的利弊。 记录每次更新到仓库 现在我们的机器上有了一个 真实项目 的 Git 符串参数,并且只会显示那些添加或删除了该字符串的提交。 假设你想找出添加或删除了对某一个特定函数的 引用的提交,可以调用: $ git log -S function_name 最后一个很实用的 git log 选项是路径(path), 如果只关心某些文件或者目录的历史提交,可以在 git log 选项的最后指定它们的路径。 因为是放在最后位置上的选项,所以用两个短划线(--)隔开之前的选项和后面限 定的路径名。 在 限制0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66renormalize EOL of tracked files (implies -u) -N, --intent-to-add record only the fact that the path will be added later -A, --all add changes from all tracked and untracked files 支持多种数据传输协议。 上面的例子使用的是 https:// 协议,不过你也 可 以 使 用 git:// 协 议 或 者 使 用 SSH 传 输 协 议 , 比 如 user@server:path/to/repo.git 。 在服务器上搭建 Git 将会介绍所有这些协 议在服务器端如何配置使用,以及各种方式之间的利弊。 记录每次更新到仓库 现在我们的机器上有了一个 真实项目 的 Git 该字 符串的提交。 假设你想找出添加或删除了对某一个特定函数的引用的提交, 可以调用: $ git log -S function_name 最后一个很实用的 git log 选项是路径(path), 如果只关心某些文件或者 目录的历史提交,可以在 git log 选项的最后指定它们的路径。 因为是放在最 后位置上的选项,所以用两个短划线(--)隔开之前的选项和后面限定的路径 名。0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册positories git_data_dirs({ "default" => { "path" => "/git-data" } }) #设置备份存放路径及备份默认保存时间,默认 /var/opt/gitlab/backups/ gitlab_rails['backup_path'] = "/git-backup" gitlab_rails['backup_keep_�me']0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













