Pro Git 2nd Edition 2.1.413Determining What Is Introduced Integrating Contributed Work Tagging Your Releases Generating a Build Number Preparing a Release The Shortlog Summary GitHub Account Setup and Configuration SSH Access been amazing to watch Git grow over the past few years from a relatively obscure version control system to basically dominating commercial and open source version control. I’m happy that Pro Git has explain how to download Git and set it up for the first time if you don’t already have it on your system. In Chapter 2, we will go over basic Git usage — how to use Git in the 80% of cases you’ll encounter0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413been amazing to watch Git grow over the past few years from a relatively obscure version control system to basically dominating commercial and open source version control. I’m happy that Pro Git has done explain how to download Git and set it up for the first time if you don’t already have it on your system. In Chapter 2, we will go over basic Git usage — how to use Git in the 80% of cases you’ll encounter explaining some background on version control tools, then move on to how to get Git running on your system and finally how to get it set up to start working with. At the end of this chapter you should understand0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Determining What Is Introduced Integrating Contributed Work Tagging Your Releases Generating a Build Number Preparing a Release The Shortlog Summary GitHub Account Setup and Configuration SSH Access been amazing to watch Git grow over the past few years from a relatively obscure version control system to basically dominating commercial and open source version control. I’m happy that Pro Git has explain how to download Git and set it up for the first time if you don’t already have it on your system. In Chapter 2, we will go over basic Git usage — how to use Git in the 80% of cases you’ll encounter0 码力 | 691 页 | 13.35 MB | 1 年前3
Gitea v1.21.1 中文文档您需要将 Gitea 和数据库服务器的域名映射到它们各自的 IP 地址。可以为它们设置 DNS 记录,也可以在 每个系统上的 /etc/hosts (Windows 中的 %WINDIR%\System32\drivers\etc\hosts )中添加本地映射。这样可 以通过域名而不是 IP 地址进行数据库连接。有关详细信息,请参阅您系统的文档。 Gitea 使用的 PostgreSQL 驱动程序支持双向 版本 >= 2.0。 1. git --version 创建用户(推荐使用名称 git ) 1. # On Ubuntu/Debian: 2. adduser \ 3. --system \ 4. --shell /bin/bash \ 5. --gecos 'Git Version Control' \ 6. --group \ 7. --disabled-password --home /home/git \ 9. git 10. 11. # On Fedora/RHEL/CentOS: 12. groupadd --system git 13. adduser \ 14. --system \ 15. --shell /bin/bash \ 16. --comment 'Git Version Control' \ 17.0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66系统也存在类似问题,只要整个项目的历史记录被保存在单一位置,就有丢失所有历史更新记录的风险。 分布式版本控制系统 于是分布式版本控制系统(Distributed Version Control System,简称 DVCS)面世了。 在这类系统中,像 Git、Mercurial 以及 Darcs 等,客户端并不只提取最新版本的文件快照, 而是把代码仓库完整地镜像下来,包 括完整的历史记录。 这么一 外观和行为的配置变量。 这些变量存储在三个不同的位 置: 1. /etc/gitconfig 文件: 包含系统上每一个用户及他们仓库的通用配置。 如果在执行 git config 时带上 --system 选项,那么它就会读写该文件中的配置变量。 (由于它是系统配置文件,因此你需要管理员或 超级用户权限来修改它。) 2. ~/.gitconfig 或 ~/.config/git/config 文件:只针对当前用户。 但跟踪所有的 lib.a,即便你在前面忽略了 .a 文件 !lib.a # 只忽略当前目录下的 TODO 文件,而不忽略 subdir/TODO /TODO # 忽略任何目录下名为 build 的文件夹 build/ # 忽略 doc/notes.txt,但不忽略 doc/server/arch.txt doc/*.txt # 忽略 doc/ 目录及其所有子目录下的 .pdf 文件 doc/**/*0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66本地版本控制系统也存在类似问题,只要整个项目的历史记录 被保存在单一位置,就有丢失所有历史更新记录的风险。 分布式版本控制系统 于是分布式版本控制系统(Distributed Version Control System,简称 DVCS)面世了。 在这类系统中,像 Git、Mercurial 以及 Darcs 等,客户端 并不只提取最新版本的文件快照, 而是把代码仓库完整地镜像下来,包括完 整的历史记录。 外观和行为的配置变量。 这些变量存储在三个不同的位置: 1. /etc/gitconfig 文件: 包含系统上每一个用户及他们仓库的通用配置。 如 果在执行 git config 时带上 --system 选项,那么它就会读写该文件中的 配置变量。 (由于它是系统配置文件,因此你需要管理员或超级用户权限 来修改它。) 2. ~/.gitconfig 或 ~/.config/git/config 但跟踪所有的 lib.a,即便你在前面忽略了 .a 文件 !lib.a # 只忽略当前目录下的 TODO 文件,而不忽略 subdir/TODO /TODO # 忽略任何目录下名为 build 的文件夹 build/ # 忽略 doc/notes.txt,但不忽略 doc/server/arch.txt doc/*.txt # 忽略 doc/ 目录及其所有子目录下的 .pdf 文件 doc/**/*0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册★系统设置 系统设置信息保存在/etc/gitconfig文件里 # git config --system user.name cof # git config --system user.email cof@cof-lee.com # git config --system --list #查看系统设置 # git0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













