Pro Git 2nd Edition 2.1.413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Branch Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . this book is meant to address those changes and update the book so it can be more helpful to the new user. When I wrote the first edition, Git was still a relatively difficult to use and barely adopted tool community has adopted it. Git has made incredible progress on Windows, in the explosion of graphical user interfaces to it for all platforms, in IDE support and in business use. The Pro Git of four years0 码力 | 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 this book is meant to address those changes and update the book so it can be more helpful to the new user. When I wrote the first edition, Git was still a relatively difficult to use and barely adopted community has adopted it. Git has made incredible progress on Windows, in the explosion of graphical user interfaces to it for all platforms, in IDE support and in business use. The Pro Git of four years0 码力 | 731 页 | 21.49 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 this book is meant to address those changes and update the book so it can be more helpful to the new user. When I wrote the first edition, Git was still a relatively difficult to use and barely adopted community has adopted it. Git has made incredible progress on Windows, in the explosion of graphical user interfaces to it for all platforms, in IDE support and in business use. The Pro Git of four years0 码力 | 691 页 | 13.35 MB | 1 年前3Gitea v1.21.1 中文文档
码。请为您的实例使用一个安全密码。 对于本地数据库: 1. SET old_passwords=0; 2. CREATE USER 'gitea' IDENTIFIED BY 'gitea'; 对于远程数据库: 1. SET old_passwords=0; 2. CREATE USER 'gitea'@'192.0.2.10' IDENTIFIED BY 'gitea'; 其中 192.0.2 的数据库用户可能已经创建过,但只会对运行 Gitea 的服务器的 IP 地址进行身份验证。要对其域 名进行身份验证,请重新创建用户,并设置其需要通过 TLS 连接到数据库: 1. DROP USER 'gitea'@'192.0.2.10'; 2. CREATE USER 'gitea'@'example.gitea' IDENTIFIED BY 'gitea' REQUIRE SSL; 3. GRANT ALL PRIVILEGES vim /etc/systemd/system/gitea.service 接着拷贝示例代码 gitea.service 并取消对任何需要运行在主机上的服务部分的注释,譬如 MySQL。 修改 user,home 目录以及其他必须的初始化参数,如果使用自定义端口,则需修改 PORT 参数,反之如果使用默 认端口则需删除 -p 标记。 激活 gitea 并将它作为系统自启动服务: 1. sudo0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
每一个级别会覆盖上一级别的配置,所以 .git/config 的配置变量会覆盖 /etc/gitconfig 中的配置变量。 在 Windows 系统中,Git 会查找 $HOME 目录下(一般情况下是 C:\Users\$USER )的 .gitconfig 文件。 Git 同样也会寻找 /etc/gitconfig 文件,但只限于 MSys 的根目录下,即安装 Git 时所选的目标位置。 如果 你在 Windows 上使用 址。 这一点很重要,因为每一个 Git 提交都会使 用这些信息,它们会写入到你的每一次提交中,不可更改: $ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com 再次强调,如果使用了 --global 选项,那么该命令只需要运行一次,因为之后无论你在该系统上做任何事 检查配置信息 如果想要检查你的配置,可以使用 git config --list 命令来列出所有 Git 当时能找到的配置: 26 $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto color.branch=auto color.interactive=auto color0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
的配置变量会覆盖 /etc/gitconfig 中的配置变量。 在 Windows 系 统 中 , Git 会 查 找 $HOME 目 录 下 ( 一 般 情 况 下 是 C:\Users\$USER )的 .gitconfig 文件。 Git 同样也会寻找 /etc/gitconfig 文件,但只限于 MSys 的根目录下,即安装 Git 时所选的目标位置。 如果你在 Windows 上使用 这一点很 重要,因为每一个 Git 提交都会使用这些信息,它们会写入到你的每一次提交 中,不可更改: $ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com 再次强调,如果使用了 --global 选项,那么该命令只需要运行一次,因为之 后无论你在该系统上做任何事情, 检查配置信息 如果想要检查你的配置,可以使用 git config --list 命令来列出所有 Git 当 时能找到的配置: $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto color.branch=auto color.interactive=auto color0 码力 | 670 页 | 13.59 MB | 1 年前3git 操作手册
息,不用于身份验证 #全局设置信息保存在 ~/.gitconfig 文件里 # git config --global user.name cof #设置用户名 # git config --global user.email cof@cof-lee.com #设置邮箱 # git config --global #初始化仓库,将在当前路径下生成.git子目录,子目录里有 此git仓库的相关信息 # git config --local user.name cof #设置用户名 # git config --local user.email cof@cof-lee.com #设置邮箱 # git config --local h�p.sslVerify #查看本地设置 ★系统设置 系统设置信息保存在/etc/gitconfig文件里 # git config --system user.name cof # git config --system user.email cof@cof-lee.com # git config --system --list0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1