Pro Git 2nd Edition 2.1.413
changes that are unstaged. If our environment looks like this: $ git add CONTRIBUTING.md $ echo '# test line' >> CONTRIBUTING.md $ git status On branch master Your branch is up-to-date with 'origin/master' Projects See our [projects list] (https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line and git diff --cached to see what you’ve staged so far (--staged and -- cached are synonyms): Scott ChaconDate: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon Date: 0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
changes that are unstaged. If our environment looks like this: $ git add CONTRIBUTING.md $ echo '# test line' >> CONTRIBUTING.md $ git status On branch master Your branch is up-to-date with 'origin/master' Projects See our [projects list](https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line and git diff --cached to see what you’ve staged so far (--staged and --cached are synonyms): Scott ChaconDate: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon Date: 0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
changes that are unstaged. If our environment looks like this: $ git add CONTRIBUTING.md $ echo '# test line' >> CONTRIBUTING.md $ git status On branch master Your branch is up-to-date with 'origin/master' Tool See our [projects list] (https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line and git diff --cached to see what you’ve staged so far (--staged and -- cached are synonyms): Scott ChaconDate: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon Date: 0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
后再编辑,可以使用 git status 查看已被暂存的修改或未被暂存的修 改。 如果我们的环境(终端输出)看起来如下: $ git add CONTRIBUTING.md $ echo '# test line' >> CONTRIBUTING.md $ git status On branch master Your branch is up-to-date with 'origin/master' Projects See our [projects list](https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line 38 然后用 git diff --cached 查看已经暂存起来的变化( --staged 和 --cached 是同义词): $ git diff --cached diff Scott ChaconDate: Sat Mar 15 16:40:33 2008 -0700 removed unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon Date: 0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
后再编辑,可以使用 git status 查看已 被暂存的修改或未被暂存的修改。 如果我们的环境(终端输出)看起来如 下: $ git add CONTRIBUTING.md $ echo '# test line' >> CONTRIBUTING.md $ git status On branch master Your branch is up-to-date with 'origin/master' Projects See our [projects list] (https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line 然后用 git diff --cached 查看已经暂存起来的变化( --staged 和 --cached 是同义词): $ git diff --cached diff --git Scott ChaconDate: Sat Mar 15 16:40:33 2008 -0700 removed unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon Date: 0 码力 | 670 页 | 13.59 MB | 1 年前3Gitea v1.21.1 中文文档
:“Gitea: Git with a cup of tea”:应用程序名称,在页面标题中使用。 RUN_MODE :prod:应用程序运行模式,会影响性能和调试。”dev”,”prod”或”test”。 DOMAIN :localhost:此服务器的域名,用于 Gitea UI 中显示的 http 克隆 URL。 SSH_DOMAIN :localhost:该服务器的域名,用于 Gitea actions generate-runner-token -s org 要注册特定仓库的 Runner,例如 username/test-repo : 1. gitea actions generate-runner-token -s username/test-repo Gitea 命令行 - 70 - 本文档使用 书栈网 · BookStack.CN 构建 这里是用来控制 Gitea repository.editor ) 仓库 - 合并请求 ( repository.pull-request ) 配置说明 - 88 - 本文档使用 书栈网 · BookStack.CN 构建 TEST_CONFLICTING_PATCHES_WITH_GIT_APPLY :使用三方合并方法测试 PR Patch 以发现是否存在冲突。如果此设 置 true ,将使用 git apply 重新测试冲突的0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1