Pro Git 2nd Edition 2.1.413
TABLE OF CONTENTS License Preface by Scott Chacon Preface by Ben Straub Dedications Contributors Introduction Getting Started About Version Control Local Version Control Systems Centralized Version filter-branch Plumbing Commands LICENSE This work is licensed under the Creative Commons Attribution- NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit https://creativecommons commands that specify the files you want to track, followed by a git commit: $ git add *.c $ git add LICENSE $ git commit -m 'Initial project version' We’ll go over what these commands do in just a minute0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
Pro Git Scott Chacon, Ben Straub Version 2.1.413, 2023-12-22 Table of Contents License. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493 License This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit https://creativecommons commands that specify the files you want to track, followed by a git commit: $ git add *.c $ git add LICENSE $ git commit -m 'Initial project version' We’ll go over what these commands do in just a minute0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
TABLE OF CONTENTS License Preface by Scott Chacon Preface by Ben Straub Dedications Contributors Introduction Getting Started About Version Control Local Version Control Systems Centralized Version filter-branch Plumbing Commands LICENSE This work is licensed under the Creative Commons Attribution- NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit https://creativecommons commands that specify the files you want to track, followed by a git commit: $ git add *.c $ git add LICENSE $ git commit -m 'Initial project version' We’ll go over what these commands do in just a minute0 码力 | 691 页 | 13.35 MB | 1 年前3Gitea v1.21.1 中文文档
templates, public 复制到 gitea/custom/ 。 对于其他自定义文件夹,例如 gogs/custom/conf 中的 gitignore, label, license, locale, readme ,将它们复 制到 gitea/custom/options 。 将 gogs/data/ 复制到 gitea/data/ 。其中包含问题附件和头像。 每个用户的全局仓库创建上限, -1 代表无限制. PREFERRED_LICENSES : Apache License 2.0,MIT License: 要放置在列表顶部的指定许可证。 名称必须 与 options/license 或 custom/options/license 中的文件名匹配。 DISABLE_HTTP_GIT : false: 禁用HTTP协议与仓库进行 交互的能力。0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
本控制,你应该开始追踪这些文件并进行初始提交。 可以通过 git add 命令来指定所需的文件来进行追踪,然后执行 git commit : $ git add *.c $ git add LICENSE $ git commit -m 'initial project version' 稍后我们再逐一解释这些指令的行为。 现在,你已经得到了一个存在被追踪文件与初始提交的 Git 仓库。 克隆现有的仓库 命令,你将得到一种 格式更为紧凑的输出。 $ git status -s M README MM Rakefile A lib/git.rb M lib/simplegit.rb ?? LICENSE.txt 34 新添加的未跟踪文件前面有 ?? 标记,新添加到暂存区中的文件前面有 A 标记,修改过的文件前面有 M 标记。 输 出中有两栏,左栏指明了暂存区的状态,右栏指明了工作区的状态。例如,上面的状态报告显示: 哈希算法),然后会把当前版本的文件快照保存到 Git 仓库中 (Git 使用 blob 对象来保存它们),最终将校验和加入到暂存区域等待提交: $ git add README test.rb LICENSE $ git commit -m 'The initial commit of my project' 当使用 git commit 进行提交操作时,Git 会先计算每一个子目录(本例中只有项目根目录)的校验和,0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
你应该开 始追踪这些文件并进行初始提交。 可以通过 git add 命令来指定所需的文件 来进行追踪,然后执行 git commit : $ git add *.c $ git add LICENSE $ git commit -m 'initial project version' 稍后我们再逐一解释这些指令的行为。 现在,你已经得到了一个存在被追踪 文件与初始提交的 Git 仓库。 命令,你将得到一种格式更为紧凑的 输出。 $ git status -s M README MM Rakefile A lib/git.rb M lib/simplegit.rb ?? LICENSE.txt 新添加的未跟踪文件前面有 ?? 标记,新添加到暂存区中的文件前面有 A 标 记,修改过的文件前面有 M 标记。 输出中有两栏,左栏指明了暂存区的状 态,右栏指明了工作区的状态。例如,上面的状态报告显示: 哈希算法),然后会把当前版本的文件快照保存到 Git 仓库 中 (Git 使用 blob 对象来保存它们),最终将校验和加入到暂存区域等待提 交: $ git add README test.rb LICENSE $ git commit -m 'The initial commit of my project' 当使用 git commit 进行提交操作时,Git 会先计算每一个子目录(本例中只有0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1