Gitea v1.21.1 中文文档
JavaScript 和 CSS 文件所需的。最低支持的 Node.js 版本是 16,建议使用最新的 LTS 版本。 注意:当执行需要外部工具的 make 任务(如 make misspell-check )时,Gitea 将根据需要自动下载和构建这些 工具。为了能够实现这个目的,你必须将 "$GOPATH/bin" 目录添加到可执行路径中。如果没有将 Go 的二进制目录添 加到可执行路径中,你需要自行解决产生的问题。 默认只运行部分检查,额外的检查可以参考: gitea doctor check --list - 列出所有可用的检查 gitea doctor check --all - 运行所有可用的检查 gitea doctor check --default - 运行默认的检查 gitea doctor check --run [check(s),]... - 运行指定的名字的检查 有些问题可以通过设置 强烈建议在运行这些命令之前备份您的数据库。 将现有的 MySQL 数据库从 utf8 转换为 utf8mb4,或者把 MSSQL 数据库从 varchar 转换为 nvarchar。 migrate doctor check doctor recreate-table doctor convert manager Gitea 命令行 - 66 - 本文档使用 书栈网 · BookStack.CN 构建 管理运行中的服务器操作:0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 2nd Edition 2.1.413
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 of Merges Rerere Perforce) have a single server that contains all the versioned files, and a number of clients that check out files from that central place. For many years, this has been the standard for version control Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial or Darcs), clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository, including its full0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
Perforce) have a single server that contains all the versioned files, and a number of clients that check out files from that central place. For many years, this has been the standard for version control Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial or Darcs), clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository, including its full branch name do: $ git config --global init.defaultBranch main Checking Your Settings If you want to check your configuration settings, you can use the git config --list command to list all the settings Git0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
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 of Merges Rerere Perforce) have a single server that contains all the versioned files, and a number of clients that check out files from that central place. For many years, this has been the standard for version control Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial or Darcs), clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository, including its full0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
--ignore-errors just skip files which cannot be added because of errors --ignore-missing check if - even missing - files are ignored in dry run --chmod (+|-)x override the executable es 文件中阅读它。 首先,你的提交不应该包含任何空白错误。 Git 提供了一个简单的方式来检查这点——在提交前,运行 git diff --check,它将会找到可能的空白错误并将它们为你列出来。 图表 57. git diff --check 的输出 如果在提交前运行那个命令,可以知道提交中是否包含可能会使其他开发者恼怒的空白问题。 接下来,尝试让每一个提交成为一个逻辑上的独立变更集。 并且,它不会为你创建提交——在运行之后,你需要手动暂存并提交补丁所引入的更改。 在实际应用补丁前,你还可以使用 git apply 来检查补丁是否可以顺利应用——即对补丁运行 git apply --check 命令: $ git apply --check 0001-seeing-if-this-helps-the-gem.patch error: patch failed: ticgit.gemspec:1 error:0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
--ignore-errors just skip files which cannot be added because of errors --ignore-missing check if - even missing - files are ignored in dry run --chmod (+|-)x override the executable 文件中阅读 它。 首先,你的提交不应该包含任何空白错误。 Git 提供了一个简单的方式来检查 这点——在提交前,运行 git diff --check,它将会找到可能的空白错误并 将它们为你列出来。 图表 57. git diff --check 的输出 如果在提交前运行那个命令,可以知道提交中是否包含可能会使其他开发者恼 怒的空白问题。 接下来,尝试让每一个提交成为一个逻辑上的独立变更集。 你需要手动暂 存并提交补丁所引入的更改。 在实际应用补丁前,你还可以使用 git apply 来检查补丁是否可以顺利应用 ——即对补丁运行 git apply --check 命令: $ git apply --check 0001-seeing-if-this-helps-the-gem.patch error: patch failed: ticgit.gemspec:1 error:0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1