Pro Git 2nd Edition 2.1.413. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476 Appendix C: Git Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 Plumbing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . now. Since then a lot has changed and yet many important things have not. While most of the core commands and concepts are still valid today as the Git core team is pretty fantastic at keeping things backward0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Functionality Further Reading Dulwich Further Reading Appendix C: Git Commands Setup and Config git config git config core.editor commands git help Getting and Creating Projects git init git clone Basic svn git fast-import Administration git gc git fsck git reflog git filter-branch Plumbing Commands LICENSE This work is licensed under the Creative Commons Attribution- NonCommercial-ShareAlike now. Since then a lot has changed and yet many important things have not. While most of the core commands and concepts are still valid today as the Git core team is pretty fantastic at keeping things0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Functionality Further Reading Dulwich Further Reading Appendix C: Git Commands Setup and Config git config git config core.editor commands git help Getting and Creating Projects git init git clone Basic svn git fast-import Administration git gc git fsck git reflog git filter-branch Plumbing Commands LICENSE This work is licensed under the Creative Commons Attribution- NonCommercial-ShareAlike now. Since then a lot has changed and yet many important things have not. While most of the core commands and concepts are still valid today as the Git core team is pretty fantastic at keeping things0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66在 附录 A ,我们学习多个在特定环境中使用 Git 的实例。 我们涵盖了许多不同的 GUI 和 IDE 编程环境,你可能 会想在这些环境中使用 Git,以及你可以使用哪些环境。 如果你想在 shell、IDE 或文本编辑器中使用 Git,请阅 读本章。 在 附录 B ,我们探讨通过类似 libgit2 和 JGit 的工具编写 Git 脚本、扩展 Git。 如果你对编写复杂、快速的自定 义工具感兴趣,需要了解 模式匹配,它会递归地应用在整个工作区中。 • 匹配模式可以以(/)开头防止递归。 • 匹配模式可以以(/)结尾指定目录。 • 要忽略指定模式以外的文件或目录,可以在模式前加上叹号(!)取反。 所谓的 glob 模式是指 shell 所使用的简化了的正则表达式。 星号(*)匹配零个或多个任意字符;[abc] 匹配 任何一个列在方括号中的字符 (这个例子要么匹配一个 a,要么匹配一个 b,要么匹配一个 c); 问号(?)只 匹 看下,你所需要的文件是不是都已暂存起来了, 然后再运行提交命令 git commit: $ git commit 这样会启动你选择的文本编辑器来输入提交说明。 启动的编辑器是通过 Shell 的环境变量 EDITOR 指定的,一般为 vim 或 emacs。 当然也可以 按照 起步 介绍的方式, 使用 git config --global core.editor 命令设置你喜欢的编0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66附录 A ,我们学习多个在特定环境中使用 Git 的实例。 我们涵盖了许多不 同的 GUI 和 IDE 编程环境,你可能会想在这些环境中使用 Git,以及你可以 使用哪些环境。 如果你想在 shell、IDE 或文本编辑器中使用 Git,请阅读本 章。 在 附录 B ,我们探讨通过类似 libgit2 和 JGit 的工具编写 Git 脚本、扩展 Git。 如果你对编写复杂、快速的自定义工具感兴趣,需要了解 模式匹配,它会递归地应用在整个工作区中。 匹配模式可以以(/)开头防止递归。 匹配模式可以以(/)结尾指定目录。 要忽略指定模式以外的文件或目录,可以在模式前加上叹号(!)取反。 所谓的 glob 模式是指 shell 所使用的简化了的正则表达式。 星号(*)匹配零 个或多个任意字符;[abc] 匹配任何一个列在方括号中的字符 (这个例子要么 匹配一个 a,要么匹配一个 b,要么匹配一个 c); 问号(?)只匹配一个任 看下,你所需要的文件是不是都已暂存起来 了, 然后再运行提交命令 git commit: $ git commit 这样会启动你选择的文本编辑器来输入提交说明。 启动的编辑器是通过 Shell 的环境变量 EDITOR 指定的,一般为 vim 或 emacs。 当然也可以 按照 起步 介绍的方式, 使用 git config --global core.editor 命令设置你喜欢的编辑0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档git --version 创建用户(推荐使用名称 git ) 1. # On Ubuntu/Debian: 2. adduser \ 3. --system \ 4. --shell /bin/bash \ 5. --gecos 'Git Version Control' \ 6. --group \ 7. --disabled-password \ # On Fedora/RHEL/CentOS: 12. groupadd --system git 13. adduser \ 14. --system \ 15. --shell /bin/bash \ 16. --comment 'Git Version Control' \ 17. --gid git \ 18. --home-dir /home/git docker exec 的权限,并且 Gitea 容器 的名称为 gitea 。您需要修改该用户的 shell,以将命令转发到容器内的 sh 可执行文件,使用 docker exec 。 首先,在主机上创建文件 /usr/local/bin/gitea-shell ,并填入以下内容: 1. #!/bin/sh 2. /usr/bin/docker exec -i --env0 码力 | 303 页 | 3.88 MB | 1 年前3
git 操作手册#出现这行说明已经登录成功了 Connec�on to gitlab.cof-lee.com closed. #关闭连接是正常的,因为gitlab 不提供登录shell ★使用ssh连接进行克隆操作 # git clone git@gitlab.cof-lee.com:cof/pro-1.git #首先要配置好~/.ssh/config0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













