Gitea v1.21.1 中文文档~/.ssh/authorized_keys 文件。以普通用户身份运行 Gitea 可能会破坏该用户的 登录能力。 Git 需要 2.0.0 或更高版本。 Git Large File Storage 如果启用,且 Git 版本大于等于 2.1.2,则该选项可用 如果 Git 版本大于等于 2.18,将自动启用 Git 提交历史图形化展示功能 Last 2 versions of Chrome LC_CTYPE 'en_US.UTF-8'; 根据需要替换数据库名称。 6. 通过将以下身份验证规则添加到 pg_hba.conf ,允许数据库用户访问上面创建的数据库。 对于本地数据库: 1. local giteadb gitea scram-sha-256 对于远程数据库: 1. host giteadb gitea 192.0.2.10/32 scram-sha-256 否则,使用环境变量 GITEA_WORK_DIR 来明确指出程序工作和数据存放路径。 1. export GITEA_WORK_DIR=/var/lib/gitea/ 1. cp gitea /usr/local/bin/gitea 可以在 contrib/autocompletion/bash_autocomplete 找到启用 bash 自动补全的脚本。可以将其复制到 /usr/share/ba0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Preface by Ben Straub Dedications Contributors Introduction Getting Started About Version Control Local Version Control Systems Centralized Version Control Systems Distributed Version Control Systems Systems A Short History of Git What is Git? Snapshots, Not Differences Nearly Every Operation Is Local Git Has Integrity Git Generally Only Adds Data The Three States The Command Line Installing Git of Rebasing Rebase When You Rebase Rebase vs. Merge Summary Git on the Server The Protocols Local Protocol The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Preface by Ben Straub Dedications Contributors Introduction Getting Started About Version Control Local Version Control Systems Centralized Version Control Systems Distributed Version Control Systems Systems A Short History of Git What is Git? Snapshots, Not Differences Nearly Every Operation Is Local Git Has Integrity Git Generally Only Adds Data The Three States The Command Line Installing Git of Rebasing Rebase When You Rebase Rebase vs. Merge Summary Git on the Server The Protocols Local Protocol The HTTP Protocols The SSH Protocol The Git Protocol Getting Git on a Server Putting0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 Credential Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . or lose files, you can easily recover. In addition, you get all this for very little overhead. Local Version Control Systems Many people’s version-control method of choice is to copy files into another this issue, programmers long ago developed local VCSs that had a simple database that kept all the changes to files under revision control. 10 Figure 1. Local version control diagram One of the most0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66--global 选项让 Git 读写此文件,这会对你系统上 所有 的仓库生效。 3. 当前使用仓库的 Git 目录中的 config 文件(即 .git/config):针对该仓库。 你可以传递 --local 选 项让 Git 强制读写此文件,虽然默认情况下用的就是它。 (当然,你需要进入某个 Git 仓库中才能让该选项 生效。) 每一个级别会覆盖上一级别的配置,所以 .git/config 的配置变量会覆盖 with slashes in them |/ * d6016bc require time for xmlschema * 11d191e Merge branch 'defunkt' into local 这种输出类型会在我们下一章学完分支与合并以后变得更加有趣。 以上只是简单介绍了一些 git log 命令支持的选项。 git log 的常用选项 列出了我们目前涉及到的和没涉及 到的选项,以及它们是如何影响 tracked dev-branch tracked Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66选项让 Git 读写此文件,这会对你系统上 所有 的仓库生 效。 3. 当前使用仓库的 Git 目录中的 config 文件(即 .git/config):针对该仓 库。 你可以传递 --local 选项让 Git 强制读写此文件,虽然默认情况下用 的就是它。 (当然,你需要进入某个 Git 仓库中才能让该选项生效。) 每一个级别会覆盖上一级别的配置,所以 .git/config 的配置变量会覆盖 with slashes in them |/ * d6016bc require time for xmlschema * 11d191e Merge branch 'defunkt' into local 这种输出类型会在我们下一章学完分支与合并以后变得更加有趣。 以上只是简单介绍了一些 git log 命令支持的选项。 git log 的常用选项 列 出了我们目前涉及到的和没涉及到的选项,以及它们是如何影响 tracked dev-branch tracked Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册项 目 的 设 置 , 使 用 --local 参 数 , 本 地 设 置 信 息 保 存 在 项 目 目 录/.git/config文件里 # cd 项目目录 # git init #初始化仓库,将在当前路径下生成.git子目录,子目录里有 此git仓库的相关信息 # git config --local user.name cof #设置用户名 # git config --local user.email cof@cof-lee.com #设置邮箱 # git config --local h�p.sslVerify false #不验证ssl证书 # git config --local --list #查看用户名 ★以上3个范围的设置优先级: 本地设置 > 全局设置 > 系统设置 ★push.default配置项 # git config --local push.default simple #设置推送模式 nothing 直接push会出错,需要显式的指出推送的远程分支,例如 git push origin0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













