 Pro Git 2nd Edition 2.1.413changes 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 Chacon Pro Git 2nd Edition 2.1.413changes 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 Chacon- Date: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon - Date: 0 码力 | 731 页 | 21.49 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413changes 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 Chacon Pro Git 2nd Edition 2.1.413changes 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 Chacon- Date: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon - Date: 0 码力 | 501 页 | 17.96 MB | 1 年前3
 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' 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 Chacon 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' 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 Chacon- Date: Sat Mar 15 16:40:33 2008 -0700 Remove unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon - Date: 0 码力 | 691 页 | 13.35 MB | 1 年前3
 Gitea v1.21.1 中文文档Last 2 versions of Chrome, Firefox, Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.c RUN_MODE :prod:应用程序运行模式,会影响性能和调试。”dev”,”prod”或”test”。 DOMAIN :localhost:此服务器的域名,用于 Gitea UI 中显示的 http 克隆 URL。 SSH_DOMAIN :localhost:该服务器的域名,用于 Gitea UI 中显示的 ssh 克隆 URL。如果启用了安装 页面,则 SSH 域服务器将采用以下形式的 gitea/custom/options 。 将 gogs/data/ 复制到 gitea/data/ 。其中包含问题附件和头像。 使用 gitea web 启动 Gitea 进行验证。 在 UI 上进入 Gitea 管理面板,运行 Rewrite '.ssh/authorized_keys' file 。 启动每个主要版本的二进制文件(例如 1.1.4 → 1.2.3 → 10 码力 | 303 页 | 3.88 MB | 1 年前3 Gitea v1.21.1 中文文档Last 2 versions of Chrome, Firefox, Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.c RUN_MODE :prod:应用程序运行模式,会影响性能和调试。”dev”,”prod”或”test”。 DOMAIN :localhost:此服务器的域名,用于 Gitea UI 中显示的 http 克隆 URL。 SSH_DOMAIN :localhost:该服务器的域名,用于 Gitea UI 中显示的 ssh 克隆 URL。如果启用了安装 页面,则 SSH 域服务器将采用以下形式的 gitea/custom/options 。 将 gogs/data/ 复制到 gitea/data/ 。其中包含问题附件和头像。 使用 gitea web 启动 Gitea 进行验证。 在 UI 上进入 Gitea 管理面板,运行 Rewrite '.ssh/authorized_keys' file 。 启动每个主要版本的二进制文件(例如 1.1.4 → 1.2.3 → 10 码力 | 303 页 | 3.88 MB | 1 年前3
 Pro 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 Chacon Pro 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 Chacon- Date: Sat Mar 15 16:40:33 2008 -0700 removed unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon - Date: 0 码力 | 501 页 | 19.30 MB | 1 年前3
 Pro 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 Chacon Pro 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 Chacon- Date: Sat Mar 15 16:40:33 2008 -0700 removed unnecessary test commit a11bef06a3f659402fe7563abf99ad00de2209e6 Author: Scott Chacon - Date: 0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1














