Gitea v1.21.1 中文文档构建一个单一的整体二进制文件,包含所有资源。适用于构建生产环境版本。 sqlite sqlite_unlock_notify : 启用对 SQLite3 数据库的支持。仅建议在少数人使用时使用这个模式。 pam : 启用对 PAM( Linux 可插拔认证模块)的支持。可用于对本地用户进行身份验证或扩展身份验证到 PAM 可用的方法。 gogit :(实验性功能)使用 go-git 变体的 的一些设置: (默认值以粗体显示) APP_NAME :“Gitea: Git with a cup of tea”:应用程序名称,在页面标题中使用。 RUN_MODE :prod:应用程序运行模式,会影响性能和调试。”dev”,”prod”或”test”。 DOMAIN :localhost:此服务器的域名,用于 Gitea UI 中显示的 http 克隆 URL。 SSH_DOMAIN 运行指定的名字的检查 有些问题可以通过设置 --fix 选项进行自动修复。 额外的日志可以通过 --log-file=... 进行设置。 有时,在迁移时,旧的列和默认值可能会在数据库模式中保持不变。这可能会导致警告,如下所示: 1. 2020/08/02 11:32:29 ...rm/session_schema.go:360:Sync() [W] Table user Column0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Linux 的缔造者 Linus Torvalds)基于使用 BitKeeper 时的经验教训,开发出自己的版本系统。 他们对新的系统制订了若干目标: • 速度 • 简单的设计 • 对非线性开发模式的强力支持(允许成千上万个并行开发的分支) • 完全分布式 • 有能力高效管理类似 Linux 内核一样的超大规模项目(速度和数据量) 自诞生于 2005 年以来,Git 日臻成熟完善,在高度易用的同时,仍然保留着初期设定的目标。 解这些状态的细节, 并学会如何根据文件状态实施后续操作,以及怎样跳过暂存直接提交。 命令行 Git 有多种使用方式。 你可以使用原生的命令行模式,也可以使用 GUI 模式,这些 GUI 软件也能提供多种功能。 在本书中,我们将使用命令行模式。 这是因为首先,只有在命令行模式下你才能执行 Git 的 所有 命令,而大多 数的 GUI 软件只实现了 Git 所有功能的一个子集以降低操作难度。 如果你学会了在命令行下如何操作,那么你 在学习完本章之后,你应该能够配置并初始化一个仓库(repository)、开始或停止跟 踪(track)文件、暂存(stage)或提交(commit)更改。 本章也将向你演示了如何配置 Git 来忽略指定的文 件和文件模式、如何迅速而简单地撤销错误操作、如何浏览你的项目的历史版本以及不同提交(commits)之间 的差异、如何向你的远程仓库推送(push)以及如何从你的远程仓库拉取(pull)文件。 获取 Git 仓库0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66的 缔 造 者 Linus Torvalds ) 基 于 使 用 BitKeeper 时的经验教训,开发出自己的版本系统。 他们对新的系统制订了 若干目标: 速度 简单的设计 对非线性开发模式的强力支持(允许成千上万个并行开发的分支) 完全分布式 有能力高效管理类似 Linux 内核一样的超大规模项目(速度和数据量) 自诞生于 2005 年以来,Git 日臻成熟完善,在高度易用的同时,仍然保留着 状态的细节, 并学会如何根据文件状态实施后续操作,以及怎样跳过暂存直 接提交。 命令行 Git 有多种使用方式。 你可以使用原生的命令行模式,也可以使用 GUI 模 式,这些 GUI 软件也能提供多种功能。 在本书中,我们将使用命令行模式。 这是因为首先,只有在命令行模式下你才能执行 Git 的 所有 命令,而大多数 的 GUI 软件只实现了 Git 所有功能的一个子集以降低操作难度。 如果你学会 后,你应该能够配置并初始化一个仓库(repository)、开始或停止跟踪 (track)文件、暂存(stage)或提交(commit)更改。 本章也将向你演示 了如何配置 Git 来忽略指定的文件和文件模式、如何迅速而简单地撤销错误操 作、如何浏览你的项目的历史版本以及不同提交(commits)之间的差异、如 何向你的远程仓库推送(push)以及如何从你的远程仓库拉取(pull)文 件。 获取0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册simple #设置推送模式 nothing 直接push会出错,需要显式的指出推送的远程分支,例如 git push origin master current 推送时只会推送当前所在的分支到远程同名分支,如果远程分支不 存在相应的同名分支,则创建该分支 upstream 推送当前分支到它的upstream分支上,这个模式只适用于推送到与 拉取数据相同的仓库(比如central 拉取数据相同的仓库(比如central workflow) simple 在中央仓库工作流程模式下,只能推送到与本地分支名一致的 upstream分支中,如果推送的远程仓库和拉取数据的远程仓库不一 致,那么该模式会像current模式一样进行操作。因为该选项对于新 手来说是最安全的,所以在git 2.0中,simple是push.default的默认 值配置项(2.0以前的默认配置项是matching) matching0 码力 | 35 页 | 1.69 MB | 1 年前3
Pro Git 2nd Edition 2.1.413the book have been changed to HTTP from SSH because it’s so much simpler. It’s been amazing to watch Git grow over the past few years from a relatively obscure version control system to basically dominating personal account or under any of the organizations that you are an owner in. You also automatically “watch” any new repository created under these organizations. Just like in Your Avatar, you can upload you can run something like git filter-branch --tree- filter 'rm -f *~' HEAD. You’ll be able to watch Git rewriting trees and commits and then move the branch pointer at the end. It’s generally a good0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413the book have been changed to HTTP from SSH because it’s so much simpler. It’s been amazing to watch Git grow over the past few years from a relatively obscure version control system to basically dominating personal account or under any of the organizations that you are an owner in. You also automatically “watch” any new repository created under these organizations. Just like in Your Avatar, you can upload an you can run something like git filter-branch --tree-filter 'rm -f *~' HEAD. You’ll be able to watch Git rewriting trees and commits and then move the branch pointer at the end. It’s generally a good0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 the book have been changed to HTTP from SSH because it’s so much simpler. It’s been amazing to watch Git grow over the past few years from a relatively obscure version control system to basically dominating personal account or under any of the organizations that you are an owner in. You also automatically “watch” any new repository created under these organizations. Just like in Your Avatar, you can upload you can run something like git filter-branch --tree- filter 'rm -f *~' HEAD. You’ll be able to watch Git rewriting trees and commits and then move the branch pointer at the end. It’s generally a good0 码力 | 691 页 | 13.35 MB | 1 年前3
共 7 条
- 1













