Pro Git 2nd Edition 2.1.413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 The Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466 Command-line Git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . about advanced Git commands. Here you will learn about topics like mastering the scary 'reset' command, using binary search to identify bugs, editing history, revision selection in detail, and a lot0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
Every Operation Is Local Git Has Integrity Git Generally Only Adds Data The Three States The Command Line Installing Git Installing on Linux Installing on macOS Installing on Windows Installing from Zsh Git in PowerShell Installation Summary Appendix B: Embedding Git in your Applications Command-line Git Libgit2 Advanced Functionality Other Bindings Further Reading JGit Getting Set Up Plumbing about advanced Git commands. Here you will learn about topics like mastering the scary 'reset' command, using binary search to identify bugs, editing history, revision selection in detail, and a lot0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 2nd Edition 2.1.413
Every Operation Is Local Git Has Integrity Git Generally Only Adds Data The Three States The Command Line Installing Git Installing on Linux Installing on macOS Installing on Windows Installing from Zsh Git in PowerShell Installation Summary Appendix B: Embedding Git in your Applications Command-line Git Libgit2 Advanced Functionality Other Bindings Further Reading JGit Getting Set Up Plumbing about advanced Git commands. Here you will learn about topics like mastering the scary 'reset' command, using binary search to identify bugs, editing history, revision selection in detail, and a lot0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
软件,但 所有 人一定会有命令行工具。 21 假如你是 macOS 用户,我们希望你懂得如何使用终端(Terminal);假如你是 Windows 用户,我们希望你懂 得如何使用命令窗口(Command Prompt)或 PowerShell。 如果你尚未掌握以上技能,我们建议你先停下来 快速学习一下,本书中的讲述和举例将用到这些技能。 安装 Git 在你开始使用 Git 前,需要将它安装在你的计算机上。 发行版的系统上安装步骤,网址为 https://git-scm.com/ download/linux。 在 macOS 上安装 在 Mac 上安装 Git 有多种方式。 最简单的方法是安装 Xcode Command Line Tools。 Mavericks (10.9) 或 更高版本的系统中,在 Terminal 里尝试首次运行 'git' 命令即可。 $ git --version 如果没有安装过命令行开发者工具,将会提示你安装。 后再编辑,可以使用 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'.0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
人一定会有命令行工具。 假如你是 macOS 用户,我们希望你懂得如何使用终端(Terminal);假如你 是 Windows 用 户 , 我 们 希 望 你 懂 得 如 何 使 用 命 令 窗 口 ( Command Prompt)或 PowerShell。 如果你尚未掌握以上技能,我们建议你先停下来 快速学习一下,本书中的讲述和举例将用到这些技能。 安装 GIT 在你开始使用 Git 前,需要将它安装在你的计算机上。 发行版的系统上安装步骤, 网址为 https://git-scm.com/download/linux。 在 macOS 上安装 在 Mac 上安装 Git 有多种方式。 最简单的方法是安装 Xcode Command Line Tools。 Mavericks (10.9) 或更高版本的系统中,在 Terminal 里尝 试首次运行 'git' 命令即可。 $ git --version 如果没有安装过命令行开发者工具,将会提示你安装。 后再编辑,可以使用 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'.0 码力 | 670 页 | 13.59 MB | 1 年前3Gitea v1.21.1 中文文档
后出现的 Git 错误 使用二进制文件安装 - 22 - 本文档使用 书栈网 · BookStack.CN 构建 1. remote: ./hooks/pre-receive.d/gitea: line 2: [...]: No such file or directory 错误信息中的 [...] 部分将包含您先前 Gitea 二进制文件的路径。 要解决此问题,请转到管理选项,并运行任务 /usr/local/bin/gitea-shell ,并填入以下内容: 1. #!/bin/sh 2. /usr/bin/docker exec -i --env SSH_ORIGINAL_COMMAND="$SSH_ORIGINAL_COMMAND" gitea sh "$@" 注意上述 docker 命令中的 gitea 是容器的名称。如果您的容器名称不同,请记得更改。 还应确保正确设置了 shell 包装器的权限: /usr/local/bin/gitea : 1. ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@" 为了使转发正常工作,需要将容器(22)的 SSH 端口映射到 docker-compose.yml 中的主机端口 2222。由于此端 口不需要暴露给外界,因此可以将其映射到主机的0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1