Pro Git 2nd Edition 2.1.413Pro 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 年前3
Pro Git 2nd Edition 2.1.413TABLE 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 年前3
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 码力 | 691 页 | 13.35 MB | 1 年前3
Pro 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 标记。 输 出中有两栏,左栏指明了暂存区的状态,右栏指明了工作区的状态。例如,上面的状态报告显示: 比较有代表性的 是人们会使用这个功能来标记发布结点( v1.0 、 v2.0 等等)。 在本节中,你将会学习如何列出已有的标签、 如何创建和删除新的标签、以及不同类型的标签分别是什么。 列出标签 在 Git 中列出已有的标签非常简单,只需要输入 git tag (可带上可选的 -l 选项 --list): $ git tag v1.0 v2.0 这个命令以字母顺序列出标签,但是它们显示的顺序并不重要。0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro 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 标记。 输出中有两栏,左栏指明了暂存区的状 态,右栏指明了工作区的状态。例如,上面的状态报告显示: 比较有代表性的是人们会使用这个功能来标记发布结点( v1.0 、 v2.0 等等)。 在本节中,你将会学习如何列出已有的标签、如何创建 和删除新的标签、以及不同类型的标签分别是什么。 列出标签 在 Git 中列出已有的标签非常简单,只需要输入 git tag (可带上可选的 -l 选项 --list): $ git tag v1.0 v2.0 这个命令以字母顺序列出标签,但是它们显示的顺序并不重要。0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档templates, public 复制到 gitea/custom/ 。 对于其他自定义文件夹,例如 gogs/custom/conf 中的 gitignore, label, license, locale, readme ,将它们复 制到 gitea/custom/options 。 将 gogs/data/ 复制到 gitea/data/ 。其中包含问题附件和头像。 在启用HTTPS之前,确保您拥有有效的SSL/TLS证书。 建议在测试和评估情况下使用自签名证书,请运行 gitea cert --host [HOST] 以生成自签名证书 如果您在服务器上使用阿帕奇(Apache)或Nginx,建议参考 反向代理指南。 要使用Gitea内置HTTPS支持,您必须编辑 app.ini 文件。 1. [server] 2. PROTOCOL = https 3. com 要了解关于配置, 请访问 配置备忘单获取更多信息 按照 reverse proxy guide 的规则设置你的反向代理服务器 然后,按照下面的向导启用 HTTPS: nginx apache2/httpd caddy 注意:仅在代理层启用 HTTPS 被称为 TLS 终止代理。代理服务器接受传入的 TLS 连接,解密内容,然后将现在 未加密的内容传递给 Gitea。只要代理和0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













