 Pro Git 2nd Edition 2.1.413with another log option called --graph. This option adds a nice little ASCII graph showing your branch and merge history: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 Ignore errors from SIGCHLD relative format (for example, “2 weeks ago”) instead of using the full date format. --graph Display an ASCII graph of the branch and merge history beside the log output. --pretty Show commits in an alternate 99ada87... Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag0 码力 | 731 页 | 21.49 MB | 1 年前3 Pro Git 2nd Edition 2.1.413with another log option called --graph. This option adds a nice little ASCII graph showing your branch and merge history: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 Ignore errors from SIGCHLD relative format (for example, “2 weeks ago”) instead of using the full date format. --graph Display an ASCII graph of the branch and merge history beside the log output. --pretty Show commits in an alternate 99ada87... Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag0 码力 | 731 页 | 21.49 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413useful with another log option called --graph. This option adds a nice little ASCII graph showing your branch and merge history: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 Ignore errors from SIGCHLD relative format (for example, “2 weeks ago”) instead of using the full date format. --graph Display an ASCII graph of the branch and merge history beside the log output. --pretty Show commits in an alternate 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag will0 码力 | 501 页 | 17.96 MB | 1 年前3 Pro Git 2nd Edition 2.1.413useful with another log option called --graph. This option adds a nice little ASCII graph showing your branch and merge history: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 Ignore errors from SIGCHLD relative format (for example, “2 weeks ago”) instead of using the full date format. --graph Display an ASCII graph of the branch and merge history beside the log output. --pretty Show commits in an alternate 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag will0 码力 | 501 页 | 17.96 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413 with another log option called --graph. This option adds a nice little ASCII graph showing your branch and merge history: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 Ignore errors from SIGCHLD relative format (for example, “2 weeks ago”) instead of using the full date format. --graph Display an ASCII graph of the branch and merge history beside the log output. --pretty Show commits in an alternate 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag0 码力 | 691 页 | 13.35 MB | 1 年前3 Pro Git 2nd Edition 2.1.413 with another log option called --graph. This option adds a nice little ASCII graph showing your branch and merge history: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 Ignore errors from SIGCHLD relative format (for example, “2 weeks ago”) instead of using the full date format. --graph Display an ASCII graph of the branch and merge history beside the log output. --pretty Show commits in an alternate 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... Add atlas.json and cover image In “detached HEAD” state, if you make changes and then create a commit, the tag0 码力 | 691 页 | 13.35 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66再详细介绍两者之间的细微差别。 当 oneline 或 format 与另一个 log 选项 --graph 结合使用时尤其有用。 这个选项添加了一些 ASCII 字符串 来形象地展示你的分支、合并历史: 47 $ git log --pretty=format:"%h %s" --graph * 2d3acf9 ignore errors from SIGCHLD on trap * 5e3ee11 --abbrev-commit 仅显示 SHA-1 校验和所有 40 个字符中的前几个字符。 --relative-date 使用较短的相对时间而不是完整格式显示日期(比如“2 weeks ago”)。 --graph 在日志旁以 ASCII 图形显示分支与合并历史。 --pretty 使用其他格式显示历史提交信息。可用的选项包括 oneline、short、full、fuller 和 format(用来定义自己的格式)。 99ada87... Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变化, 但你的新提交将不属于任 何分支,并且将无法访问,除非通过确切的提交哈希才能访问。 因此,如果你需要进行更改,比如你要修复旧0 码力 | 501 页 | 19.30 MB | 1 年前3 Pro Git 中文版 第2版 2.1.66再详细介绍两者之间的细微差别。 当 oneline 或 format 与另一个 log 选项 --graph 结合使用时尤其有用。 这个选项添加了一些 ASCII 字符串 来形象地展示你的分支、合并历史: 47 $ git log --pretty=format:"%h %s" --graph * 2d3acf9 ignore errors from SIGCHLD on trap * 5e3ee11 --abbrev-commit 仅显示 SHA-1 校验和所有 40 个字符中的前几个字符。 --relative-date 使用较短的相对时间而不是完整格式显示日期(比如“2 weeks ago”)。 --graph 在日志旁以 ASCII 图形显示分支与合并历史。 --pretty 使用其他格式显示历史提交信息。可用的选项包括 oneline、short、full、fuller 和 format(用来定义自己的格式)。 99ada87... Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变化, 但你的新提交将不属于任 何分支,并且将无法访问,除非通过确切的提交哈希才能访问。 因此,如果你需要进行更改,比如你要修复旧0 码力 | 501 页 | 19.30 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66再详细介绍两者之间的细微 差别。 当 oneline 或 format 与另一个 log 选项 --graph 结合使用时尤其有用。 这个 选项添加了一些 ASCII 字符串来形象地展示你的分支、合并历史: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 ignore errors from SIGCHLD on trap * 5e3ee11 --abbrev-commit 仅显示 SHA-1 校验和所有 40 个字符中的前几个字符。 --relative-date 使用较短的相对时间而不是完整格式显示日期(比如“2 weeks ago”)。 --graph 在日志旁以 ASCII 图形显示分支与合并历史。 --pretty 使用其他格式显示历史提交信息。可用的选项包括 oneline、short、full、fuller 和 format(用来定义自己的格式)。 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变 化, 但你的新提交将不属于任何分支,并且将无法访问,除非通过确切的提 交哈希才能访问。0 码力 | 670 页 | 13.59 MB | 1 年前3 Pro Git 中文版 第2版 2.1.66再详细介绍两者之间的细微 差别。 当 oneline 或 format 与另一个 log 选项 --graph 结合使用时尤其有用。 这个 选项添加了一些 ASCII 字符串来形象地展示你的分支、合并历史: $ git log --pretty=format:"%h %s" --graph * 2d3acf9 ignore errors from SIGCHLD on trap * 5e3ee11 --abbrev-commit 仅显示 SHA-1 校验和所有 40 个字符中的前几个字符。 --relative-date 使用较短的相对时间而不是完整格式显示日期(比如“2 weeks ago”)。 --graph 在日志旁以 ASCII 图形显示分支与合并历史。 --pretty 使用其他格式显示历史提交信息。可用的选项包括 oneline、short、full、fuller 和 format(用来定义自己的格式)。 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变 化, 但你的新提交将不属于任何分支,并且将无法访问,除非通过确切的提 交哈希才能访问。0 码力 | 670 页 | 13.59 MB | 1 年前3
 git 操作手册提交时,HEAD都会自动指向最新的提交。 首次创建分支前,得先进行一次提交,否则git无法创建分支(因为分支是基于 提交去创建的)。 # git log --decorate --graph --all #查看整个项目的分支图 # git branch #查看分支列表,默认只有一个分支,分支名默认为 master tail -f /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitla0 码力 | 35 页 | 1.69 MB | 1 年前3 git 操作手册提交时,HEAD都会自动指向最新的提交。 首次创建分支前,得先进行一次提交,否则git无法创建分支(因为分支是基于 提交去创建的)。 # git log --decorate --graph --all #查看整个项目的分支图 # git branch #查看分支列表,默认只有一个分支,分支名默认为 master tail -f /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitla0 码力 | 35 页 | 1.69 MB | 1 年前3
 Gitea v1.21.1 中文文档Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.com/go-sql-driver/mysql github.com/lib/pq --admin-group :管理员用户的组声明值。(可选) --restricted-group :受限用户的组声明值。(可选) --group-team-map :组与组织团队之间的 JSON 映射。(可选) Gitea 命令行 - 60 - 本文档使用 书栈网 · BookStack.CN 构建 --group-team-map-removal :根据组自动激活团队成员资格的删除。(可选) Gitea 命令行 - 68 - 本文档使用 书栈网 · BookStack.CN 构建 --stacktraces : 显示与进程关联的 Goroutine 的堆栈跟踪 --json : 输出为 JSON 格式 --cancel PID : 向具有 PID 的进程发送取消命令(仅适用于非系统进程) dump-repo 从 Git/GitHub/Gitea/GitLab 中转储存储库数据:0 码力 | 303 页 | 3.88 MB | 1 年前3 Gitea v1.21.1 中文文档Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.com/go-sql-driver/mysql github.com/lib/pq --admin-group :管理员用户的组声明值。(可选) --restricted-group :受限用户的组声明值。(可选) --group-team-map :组与组织团队之间的 JSON 映射。(可选) Gitea 命令行 - 60 - 本文档使用 书栈网 · BookStack.CN 构建 --group-team-map-removal :根据组自动激活团队成员资格的删除。(可选) Gitea 命令行 - 68 - 本文档使用 书栈网 · BookStack.CN 构建 --stacktraces : 显示与进程关联的 Goroutine 的堆栈跟踪 --json : 输出为 JSON 格式 --cancel PID : 向具有 PID 的进程发送取消命令(仅适用于非系统进程) dump-repo 从 Git/GitHub/Gitea/GitLab 中转储存储库数据:0 码力 | 303 页 | 3.88 MB | 1 年前3
共 7 条
- 1














 
 